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

[jira] Commented: (MNG-3410) Managed versions in plugins are not considered when using them

    [ http://jira.codehaus.org/browse/MNG-3410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124260 ] 

Carlos Sanchez commented on MNG-3410:
-------------------------------------

Added testcase along with test for MNG-3396 into core-integration-tests/src/test/resources/mng-3396-dependencyManagementForOverConstrainedRanges

> Managed versions in plugins are not considered when using them
> --------------------------------------------------------------
>
>                 Key: MNG-3410
>                 URL: http://jira.codehaus.org/browse/MNG-3410
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.8, 2.1-alpha-1, 2.1
>            Reporter: Carlos Sanchez
>
> If you build and install a plugin with managed versions that affect plugin transitive dependencies, when it's used the dependency management is ignored
> If the dependency management affects the plugin direct dependecies it works properly because the information is merged.
> eg.
> Plugin A depends on jar B that depends on jar C[1.0]
> A dependencyManagement explicitly forces C[2.0], you build and install using C[2.0] in the classpath
> If you use plugin A in your pom it will be used with C version 1.0

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