[ 
https://jira.codehaus.org/browse/MENFORCER-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=344901#comment-344901
 ] 

Karl-Heinz Marbaise commented on MENFORCER-174:
-----------------------------------------------

A distributionManagement should only exist once in the whole build related to a 
reactor If the root of the reactor does not have a parent. 
Otherwise it should only be the parent of the current reactor which can contain 
distributionManagement. 


> Add a Rule for distributionManagement
> -------------------------------------
>
>                 Key: MENFORCER-174
>                 URL: https://jira.codehaus.org/browse/MENFORCER-174
>             Project: Maven Enforcer Plugin
>          Issue Type: New Feature
>          Components: Documentation, Standard Rules
>            Reporter: Karl-Heinz Marbaise
>            Assignee: Karl-Heinz Marbaise
>            Priority: Minor
>             Fix For: 1.4
>
>
> It would be a good idea having a rule which controls the 
> distributionManagement part in the pom file. 
> For example:
> # Does not allow any distributionManagement in a pom or it's parents
> # Does not allow distributionManagement in the whole reactor of a build but 
> allows it within the parent of the reactor (company pom).



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to