Resolving Dependency Conflicts:
Using maven, it is inevitable that two or more artifacts will require different versions of a particular dependency.
To manually resolve conflicts, following steps give very useful information:
(1) build the top level deployment by using:
$mvn -o -X test
this command will list all dependence information.
(2)grep the output of step (1) and remove the [DEBUG] at the beginning of each line
(3)sort the output of step (2), then you can find out easily the version conflicts.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment