-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Bump Jenkins version to 2.249; clean up plugin parent POM #480
Conversation
ede3804
to
3bba424
Compare
<dependency> | ||
<groupId>com.github.spotbugs</groupId> | ||
<artifactId>spotbugs-annotations</artifactId> | ||
<scope>provided</scope> | ||
<optional>true</optional> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>com.google.code.findbugs</groupId> | ||
<artifactId>jsr305</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> |
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.
As of 2.249, jenkins-core
(which we depend on above) already depends on spotbugs-annotations
transitively, so this is redundant. Furthermore, it causes Enforcer errors because of Maven's "nearest definition" algorithm. Better to remove it and have plugins get the version corresponding to their core baseline.
<dependency> | ||
<groupId>org.kohsuke</groupId> | ||
<artifactId>access-modifier-annotation</artifactId> | ||
<scope>provided</scope> | ||
<optional>true</optional> | ||
<exclusions> | ||
<exclusion> | ||
<!-- provided by Jenkins core --> | ||
<groupId>org.jenkins-ci</groupId> | ||
<artifactId>annotation-indexer</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> |
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.
jenkins-core
(which we depend on above) already depends on access-modifier-annotation
transitively, so this is redundant. Furthermore, it causes Enforcer errors because of Maven's "nearest definition" algorithm. Better to remove it and have plugins get the version corresponding to their core baseline.
Feel free to release if you like. |
Implements recent suggestions from the "annotation versions" mailing list thread.