-
Notifications
You must be signed in to change notification settings - Fork 19
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
set maven libs according to consumers #144
Conversation
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.
Does not compile.
``` [ERROR] Require upper bound dependencies error for org.slf4j:slf4j-api:1.7.29 [provided] paths to dependency are: [ERROR] +-org.kohsuke:access-modifier-checker:1.31-SNAPSHOT [ERROR] +-org.apache.maven:maven-core:3.8.1 [provided] [ERROR] +-org.apache.maven:maven-resolver-provider:3.8.1 [provided] [ERROR] +-org.slf4j:slf4j-api:1.7.29 [provided] [ERROR] and [ERROR] +-org.kohsuke:access-modifier-checker:1.31-SNAPSHOT [ERROR] +-org.apache.maven:maven-core:3.8.1 [provided] [ERROR] +-org.apache.maven.resolver:maven-resolver-impl:1.6.2 [provided] [ERROR] +-org.slf4j:slf4j-api:1.7.30 [provided]``` ``` maven `3.8.1` ships with `slf4j-api` `1.7.29` so the fact its resolver requires a newer slf4j is just daft. for now (as this is an old version of maven) just ignore slf4j. Removes org.apache.commons:commons-lang as that is not a collision
@@ -74,7 +78,7 @@ | |||
<rules> | |||
<requireUpperBoundDeps> | |||
<excludes combine.children="append"> | |||
<exclude>org.apache.commons:commons-lang3</exclude> | |||
<exclude>org.slf4j:slf4j-api</exclude> |
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.
[ERROR] Require upper bound dependencies error for org.slf4j:slf4j-api:1.7.29 [provided] paths to dependency are:
[ERROR] +-org.kohsuke:access-modifier-checker:1.31-SNAPSHOT
[ERROR] +-org.apache.maven:maven-core:3.8.1 [provided]
[ERROR] +-org.apache.maven:maven-resolver-provider:3.8.1 [provided]
[ERROR] +-org.slf4j:slf4j-api:1.7.29 [provided]
[ERROR] and
[ERROR] +-org.kohsuke:access-modifier-checker:1.31-SNAPSHOT
[ERROR] +-org.apache.maven:maven-core:3.8.1 [provided]
[ERROR] +-org.apache.maven.resolver:maven-resolver-impl:1.6.2 [provided]
[ERROR] +-org.slf4j:slf4j-api:1.7.30 [provided]```
maven 3.8.1
ships with slf4j-api
1.7.29
so the fact its resolver requires a newer slf4j is just daft.
for now (as this is an old version of maven) just ignore slf4j.
Removes org.apache.commons:commons-lang as that is not a collision
use a version of maven libs that we expect to be satisfied by consumers.
cf jenkinsci/maven-hpi-plugin#440 (comment)