You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2008/03/08 03:03:28 UTC

[jira] Updated: (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 ]

Brian Fox updated MNG-3033:
---------------------------

    Fix Version/s:     (was: Reviewed Pending Version Assignment)
                   2.0.10

> DependencyManagement override version if declared in child
> ----------------------------------------------------------
>
>                 Key: MNG-3033
>                 URL: http://jira.codehaus.org/browse/MNG-3033
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.5, 2.0.6
>            Reporter: hugo lassiege
>             Fix For: 2.0.10
>
>
> 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