Hi all,

We are working on a project where a dependency is defined using a variable, 
i.e. a substition is supposed to take place. The variable value is defined in 
the settings.xml in an profile (always active in our case). The substition 
seems to work in the first line (direct) dependency. The next, transitive, 
seemingly has no effect. Maven reports that it cannot find the artifact in 
question, indicating the variable name as the version - not the value we 
defined in the profile.

We see this in Eclipse, m2eclipse installed. But, after some investigating we 
also see a similar problem on the command line when invoking the e.g. mvn 
compile. When invoking the same command using the -D option with the variable 
and value it works just fine. seemingly there seems to be some kind of problem 
with the variable substition...
Could you please advice us on how to move forward in this issue when using 
m2eclipse? Any pointers are welcome.


Thanks in advance,

Robert

Reply via email to