You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/12/31 04:36:55 UTC

[jira] Closed: (MNG-3033) DependencyManagement override version if declared in child

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

Brett Porter closed MNG-3033.
-----------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 2.2.2)

in 2.2.1, I get junit 3.8.2 with compile given this example

> DependencyManagement override version if declared in child
> ----------------------------------------------------------
>
>                 Key: MNG-3033
>                 URL: http://jira.codehaus.org/browse/MNG-3033
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.5, 2.0.6
>            Reporter: hugo lassiege
>            Assignee: John Casey
>
> Hi,
> I'm currently in maven 2.0.5 but I tried in 2.0.6
> If I declare a dependency in a father pom within a dependencyManagement like this :
> 		<dependency>
> 			<groupId>A</groupId>
> 			<artifactId>A</artifactId>
> 			<version>1.0</version>
> 		</dependency>
> and if I want to override the version in the child :
> 		<dependency>
> 			<groupId>A</groupId>
> 			<artifactId>A</artifactId>
> 			<version>1.1</version>
> 		</dependency>
> I get the version 1.0. It seems it was already reported in this issue : http://jira.codehaus.org/browse/MNG-1577 but was not the main purpose and was not fixed.
> Regards.

-- 
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