You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MNG-5527] Dependency management import should support relocations. #6804
The expected result according to [1]:
During building the "my-project" it should print the WARNING with the information about the relocation and it should be automatically redirected from old.groupId.bom:my-artifactId-bom:1.0 to new.groupId.bom:my-artifactId-bom:2.0 and use dependencies from the new pom.
Actual results:
There is no WARNING and no redirection to the new pom and maven is trying to obtain dependencies from the old pom (old.groupId.bom:my-artifactId-bom:1.0).
Nevertheless, when the pom is declared as a "normal dependency" (not in the "dependencyManagement" part) it works without any problem - it prints the WARNING and redirects to the new pom, but this is not the case we are using.
Issue is fixed in the master branch of my private maven repository on github. When interested, you can cherry pick the commit to your own repository and create a pull request for the apache master branch with just this commit yourself from there.
@gnodet Implemented BOM relocation in both model builders, with coverage for partial/chained relocations, cycles, and cached imports. The reported failure reproduces on untouched master and passes with the fix. Pls check #13081
Activity
jira-importer commentedon Jan 23, 2014
Jason van Zyl commented
Please read https://cwiki.apache.org/confluence/display/MAVEN/Submitting+Issue+for+Maven's+Core
jira-importer commentedon Jan 9, 2017
Stephen Connolly commented
Maven 3.4.0 has been dropped. See this thread for more details.
This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.
jira-importer commentedon Mar 25, 2017
Christian Schulte commented
Issue is fixed in the master branch of my private maven repository on github. When interested, you can cherry pick the commit to your own repository and create a pull request for the apache master branch with just this commit yourself from there.
goutamadwant commentedon Sep 9, 2026
@gnodet Implemented BOM relocation in both model builders, with coverage for partial/chained relocations, cycles, and cached imports. The reported failure reproduces on untouched master and passes with the fix. Pls check #13081