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

Brian Fox commented on MENFORCER-65:
------------------------------------

That seems a bit draconian, but i could see if the parent has a version, don't 
allow a child to override it.

> Fail the build if children declare dependency versions
> ------------------------------------------------------
>
>                 Key: MENFORCER-65
>                 URL: http://jira.codehaus.org/browse/MENFORCER-65
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: New Feature
>            Reporter: Dan Fabulich
>
> The opposite side of MENFORCER-19, it should be possible to require that 
> children in a reactor NEVER declare any versions, but inherit all dependency 
> versions from the parent's dependencyManagement.  That is, if the parent 
> fails to declare a certain dependency X, the child shouldn't be free to 
> choose just any version; the child should have to add the dependency to the 
> parent and then use the version declared there.

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

        

Reply via email to