Skip to content
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

maven plugin: Some dependencies of Maven Plugins are expected to be in provided scope. #1249

Closed
petertrr opened this issue Mar 28, 2022 · 0 comments · Fixed by #1257
Closed
Assignees
Labels
plugins Plugins for build systems to allow them to run diktat
Milestone

Comments

@petertrr
Copy link
Member

[INFO] --- maven-plugin-plugin:3.6.4:helpmojo (help-goal) @ diktat-maven-plugin ---
Error:  
Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.
The following dependencies are in wrong scope:
 * org.apache.maven:maven-core:jar:3.8.5:compile
 * org.apache.maven:maven-model:jar:3.8.5:compile
 * org.apache.maven:maven-settings:jar:3.8.5:compile
 * org.apache.maven:maven-settings-builder:jar:3.8.5:compile
 * org.apache.maven:maven-builder-support:jar:3.8.5:compile
 * org.apache.maven:maven-repository-metadata:jar:3.8.5:compile
 * org.apache.maven:maven-artifact:jar:3.8.5:compile
 * org.apache.maven:maven-model-builder:jar:3.8.5:compile
 * org.apache.maven:maven-resolver-provider:jar:3.8.5:compile
 * org.apache.maven:maven-plugin-api:jar:3.8.5:compile
@petertrr petertrr added the plugins Plugins for build systems to allow them to run diktat label Mar 28, 2022
@petertrr petertrr self-assigned this Mar 28, 2022
@petertrr petertrr added this to the 1.0.4 milestone Apr 5, 2022
petertrr added a commit that referenced this issue Apr 6, 2022
### What's done:
* Some dependencies for maven plugins are included in maven runtime and thus should have `provided` scope

Closes #1249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugins Plugins for build systems to allow them to run diktat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant