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
RemoveDuplicateDependencies mistakenly removes a dependency from the dependency management. The peculiarity of this dependency is that it appears twice in the dependency management: once with a classifier and once without a classifier. Depending on the order of these two dependencies, one of them gets removed, resulting in a non-functional build. The demo contains the setup that triggers this error.
What version of OpenRewrite are you using?
8.42.4
I am using
How are you running OpenRewrite?
mvnw org.openrewrite.maven:rewrite-maven-plugin:5.47.3:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:LATEST -Drewrite.activeRecipes=org.openrewrite.maven.RemoveDuplicateDependencies
The issue can be reproduced: https://github.com/torsten-liermann/orw-problem-removeduplicatesdependencies
RemoveDuplicateDependencies
mistakenly removes a dependency from the dependency management. The peculiarity of this dependency is that it appears twice in the dependency management: once with a classifier and once without a classifier. Depending on the order of these two dependencies, one of them gets removed, resulting in a non-functional build. The demo contains the setup that triggers this error.Reordering the dependencies resolves the issue.
The text was updated successfully, but these errors were encountered: