On 28/07/2011 7:39 AM, boraldo wrote:
Suppose I have the following artifacts. I will omit groups for simplicity.
A:1.0
A:2.0
A:3.0
B:1.0 depends on A:1.0
C:1.0 depends on A:2.0
D:1.0 depends on B:1.0, C:1.0
I want D to use the latest version of A that is inherited from it's
dependencies (not from repository). In this case it is 2.0.
How can I make this with Maven 2 or Maven 3?
--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-use-the-latest-version-from-dependencies-not-from-all-repository-tp4642240p4642240.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Either do nothing and let Maven figure it out or in D's dependency on B
exclude A since you are going to get it from C anyway.
If you can fix B to depend on A:2.0 that would be best since you are
going to force it to use A:2.0 anyway, you might as well update it, if
you can.
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]