-
Notifications
You must be signed in to change notification settings - Fork 28
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
Cleanup and verify dependencies #128
base: master
Are you sure you want to change the base?
Conversation
</goals> | ||
<configuration> | ||
<failOnWarning>true</failOnWarning> | ||
<ignoredDependencies>junit:junit:*,org.apache.maven:maven-compat:*,org.apache.maven.resolver:maven-resolver-connector-basic:*,org.apache.maven.resolver:maven-resolver-transport-wagon:*,org.apache.maven.wagon:wagon-http-lightweight:*</ignoredDependencies> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use a list of tags for separate items
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean multiple ignoredDependencies elements, one per artifact?
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>analyze</id> | ||
<goals> | ||
<goal>analyze-only</goal> | ||
</goals> | ||
<configuration> | ||
<failOnWarning>true</failOnWarning> | ||
<ignoredDependencies>org.slf4j:slf4j-simple:*</ignoredDependencies> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can try to put it in root pom ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That doesn't buy very much since we still need to configure the ignoredDependencies on a project by project basis. That allows us to omit the goals and failOnWarning elements, but nothing else.
No description provided.