-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin can't be run from a parent multi-module project #13
Comments
This also prevents mvn verify from being run on the parent project. |
I will look into it. |
I'm running into this as well. Would be enough if I could specify the input paths but the config documentation seems scarce to me on this subject |
I found a solution of sorts; adding a profile which ignores the plugin when on the parent module.
|
I am having this same problem as well. |
This is an issue with how detekt works by default, though it makes no real sense to fail because of this in this case. I will try to implement some work around |
This should be working in detekt-maven-plugin 1.0.0-RC14 |
The plugin works when run on each module, but you can't run it on the parent module directly.
It fails with:
[ERROR] Failed to execute goal com.github.ozsie:detekt-maven-plugin:1.0.0.RC9.2:check (default-cli) on project parent: Execution default-cli of goal com.github.ozsie:detekt-maven-plugin:1.0.0.RC9.2:check failed: Provided path '/x/y/z/javaapis/src' does not exist! -> [Help 1]
[ERROR]
The text was updated successfully, but these errors were encountered: