Incorrect dependency version downloaded
---------------------------------------
Key: MNGECLIPSE-131
URL: http://jira.codehaus.org/browse/MNGECLIPSE-131
Project: Maven 2.x Extension for Eclipse
Type: Bug
Versions: 0.0.9
Reporter: Adrian
Assigned to: Eugene Kuleshov
Priority: Critical
Fix For: 0.0.10
I have a parent pom with a dependency management section specifying the version
of an artifact to use. In the child project, I override this version.
The maven plugin ignores the overriding version and downloads the version
specified by the parent pom.
For example, in the parent pom
{code}
<dependency>
<groupId>lucene</groupId>
<artifactId>lucene</artifactId>
<version>1.4.3</version>
</dependency>
{code}
in the project pom, inheriting the parent pom
{code}
<dependency>
<groupId>lucene</groupId>
<artifactId>lucene</artifactId>
<version>2.0</version>
</dependency>
{code}
The maven eclipse plugin downloads version 1.4.3 for my project
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira