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 version to 3.6.1 #802
Conversation
@@ -41,7 +41,7 @@ | |||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |||
<guava.version>28.0-jre</guava.version> | |||
<resolver.version>1.4.0</resolver.version> |
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.
It looks like this PR would downgrade our resolver version to 1.3.3. If so, I'm not sure we want to do that.
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.
I see maven-resolver-api 1.4.0 in its dependency tree https://gist.github.com/suztomo/f3a99fa9c285c00552c751911e342b59.
Both this pom's parent (dependency-parent) and org.apache.maven:maven:3.6.1
try to set maven-resolver-api version. Seems the former wins.
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.
I just created #810 to clarify maven-related dependencies should have provided scope, because these dependencies are already there when Maven runs an enforcer rule.
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.
Created #813
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.
813 merged.
Fixes #803 (ClassNotFoundError due to dependency conflict)
Initially I was thinking to fix it by multiple exclusion elements
(commit), but leveraging Maven's BOM for version 3.6.1 is more straightforward to control the version of plexus-util in the transitive dependency.