[
https://jira.codehaus.org/browse/MENFORCER-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl-Heinz Marbaise updated MENFORCER-142:
------------------------------------------
Fix Version/s: (was: 1.4)
more-investigation
> Specify enforcer rule in command line without updateing any pom
> ---------------------------------------------------------------
>
> Key: MENFORCER-142
> URL: https://jira.codehaus.org/browse/MENFORCER-142
> Project: Maven Enforcer Plugin
> Issue Type: Improvement
> Components: Plugin
> Reporter: Arnaud Bourree
> Fix For: more-investigation
>
>
> Hello,
> How could we specify enforcer:enforce rules from command line?
> I want to run command line like following without updating any pom.xml:
> mvn enforcer:enforce -Drules=com.acme.UseAcmeParentPom
> The goal of this enforcer:enforce rule is to check that Acme's
> developers write pom.xml which inherit from acme's parent pom.xml
> And because they may not inherit from acme's parent pom.xml, I cannot
> specify enforcer rule in.
> Regards,
> Arnaud.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)