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

[jira] Commented: (MENFORCER-19) Add an option to enforce dependencyManagement

    [ http://jira.codehaus.org/browse/MENFORCER-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201596#action_201596 ] 

jieryn commented on MENFORCER-19:
---------------------------------

Brian, I think that is exactly what we should do. Let's utilize the code in dependency:analyze-dep-mgmt for an enforcer rule with failBuild=true and ignoreDirect=false ;; either that or let's close this JIRA. :-)

> Add an option to enforce dependencyManagement
> ---------------------------------------------
>
>                 Key: MENFORCER-19
>                 URL: http://jira.codehaus.org/browse/MENFORCER-19
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: New Feature
>          Components: Standard Rules
>            Reporter: Carlos Sanchez
>
> 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