Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3
-
Labels:None
-
Number of attachments :
Description
I would like to be able to compare the dependency versions resolved in a local project to the versions contained in the dependency management section of a pom in the repository.
For example, from my project directory, I would run something like:
mvn versions:compare-dependencies -DremotePom=org.test:projectA:1.0
The plugin would compare the local pom dependencies to those in the dependencyManagement section of the remote pom (projectA), and print out the results. This would provide some of the benefits of dependencyManagement without requiring the pom to have an inheritance relationship (parent pom) or dependency relationship (using import scope).
Optionally, the plugin would be able to make updates to the local pom and set the versions to those in the remote pom.
moving to 1.0-beta-1