You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2009/12/29 02:49:59 UTC

[jira] Closed: (MNG-2340) Incorrect dependency version downloaded

     [ http://jira.codehaus.org/browse/MNG-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2340.
------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 3.x)

> Incorrect dependency version downloaded
> ---------------------------------------
>
>                 Key: MNG-2340
>                 URL: http://jira.codehaus.org/browse/MNG-2340
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Embedding
>    Affects Versions: 2.0.4
>            Reporter: Adrian
>            Priority: Critical
>         Attachments: MNGECLIPSE-131.zip
>
>
> 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