[
https://jira.codehaus.org/browse/MENFORCER-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=344911#comment-344911
]
Jörg Schaible commented on MENFORCER-174:
-----------------------------------------
This might only be true for the repository and snapshotRepository element, but
we have to add a distributionManagement to every single POM just because of
Maven's annoying behavior with the site URL (MNG-4508 and related).
> 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)