[MNG-6965] Drop Maven 2 support - stop injecting old plexus-utils#367
Closed
slachiewicz wants to merge 1 commit intomasterfrom
Closed
[MNG-6965] Drop Maven 2 support - stop injecting old plexus-utils#367slachiewicz wants to merge 1 commit intomasterfrom
slachiewicz wants to merge 1 commit intomasterfrom
Conversation
pzygielo
reviewed
Oct 3, 2020
...n-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Outdated
Show resolved
Hide resolved
…jar:1.1 on their classpath This closes #367
asfgit
pushed a commit
that referenced
this pull request
Jun 17, 2022
…jar:1.1 on their classpath This closes #367
8 tasks
asfgit
pushed a commit
that referenced
this pull request
Jun 24, 2022
…jar:1.1 on their classpath This closes #367
asfgit
pushed a commit
that referenced
this pull request
Jun 24, 2022
…jar:1.1 on their classpath This closes #367
|
Resolve #8076 |
dupondje
added a commit
to oVirt/ovirt-engine
that referenced
this pull request
Dec 11, 2025
On maven 3.6.3 (CentOs9), plexus-utils 1.1 is injected by default [1]. This conflicts with maven 3.9.9 on CentOS 10, as there it doesn't inject plexus-utils 1.1. [2] When ovirt-engine-build-dependencies srpm is build on CentOS 10, but used on CentOS 9, the build fails because it's missing plexus-utils 1.1. Fix this by adding a versioned plexus-utils depends on maven-surefire-plugin. Then the correct version gets pulled in, and same dependencies exist for centos9 or centos10. [1]: https://github.com/apache/maven/blob/maven-3.6.3/maven-core/src/main/java/org/apache/maven/plugin/internal/PlexusUtilsInjector.java#L32-L37 [2]: apache/maven#367 Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>
dupondje
added a commit
to oVirt/ovirt-engine
that referenced
this pull request
Dec 11, 2025
On maven 3.6.3 (CentOs9), plexus-utils 1.1 is injected by default [1]. This conflicts with maven 3.9.9 on CentOS 10, as there it doesn't inject plexus-utils 1.1. [2] When ovirt-engine-build-dependencies srpm is build on CentOS 10, but used on CentOS 9, the build fails because it's missing plexus-utils 1.1. Fix this by adding a versioned plexus-utils depends on maven-surefire-plugin. Then the correct version gets pulled in, and same dependencies exist for centos9 or centos10. [1]: https://github.com/apache/maven/blob/maven-3.6.3/maven-core/src/main/java/org/apache/maven/plugin/internal/PlexusUtilsInjector.java#L32-L37 [2]: apache/maven#367 Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO: ITs failed for few test cases: https://builds.apache.org/view/M-R/view/Maven/job/maven-box/job/maven/job/MNG-6965/
This change is