You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/03/07 02:29:22 UTC

[jira] Created: (MNG-2128) Add an option to enforce dependencyManagement

Add an option to enforce dependencyManagement
---------------------------------------------

         Key: MNG-2128
         URL: http://jira.codehaus.org/browse/MNG-2128
     Project: Maven 2
        Type: New Feature

  Components: Dependencies  
    Versions: 2.0.3, 2.0, 2.0.1, 2.0.2    
    Reporter: Carlos Sanchez
     Fix For: 2.1


Add something to the dependencyManagement section like 
<enforce>true</enforce>
to make build fail if a subproject uses a different version

Currently a subproject can specify the version of a dependency already defined in dependencyManagement, which is error prone

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-2128) Add an option to enforce dependencyManagement

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2128?page=all ]

Carlos Sanchez updated MNG-2128:
--------------------------------

    Fix Version: 2.1

> Add an option to enforce dependencyManagement
> ---------------------------------------------
>
>          Key: MNG-2128
>          URL: http://jira.codehaus.org/browse/MNG-2128
>      Project: Maven 2
>         Type: New Feature

>   Components: Dependencies
>     Versions: 2.0.3, 2.0, 2.0.1, 2.0.2
>     Reporter: Carlos Sanchez
>      Fix For: 2.1

>
>
> Add something to the dependencyManagement section like 
> <enforce>true</enforce>
> to make build fail if a subproject uses a different version
> Currently a subproject can specify the version of a dependency already defined in dependencyManagement, which is error prone

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org