maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@swisspost.com>
Subject Re: AW: AW: Artifact with different sets of dependencies switched by profiles
Date Tue, 01 Jul 2014 13:43:35 GMT
Hi Stephen,

Stephen Connolly wrote:

> And you are going to have the exact same set of issues as with profiles.
> 
> Maven 3 does not re-interpolate the poms of dependencies IIRC... or at
> least it is not supposed to... so you only get to control the variables
> from the parent pom and any inherited dependencies/dependencyManagement
> not from the transitive dependencies of your pom

The scope declared in the (inherited) dependencyManagement will overwrite 
any transitive or local one (if not explicitly declared). And if that scope 
is defined by a property, you may overwrite this property in the local pom 
or from command line.

However, if the resulting intermediate artifacts differ, he will run in 
problems.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message