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

Arnaud Bourree commented on MENFORCER-142:
------------------------------------------

Hello,

I see an other use case to specify rules on command line: one rule may be miss 
in your project. How could you simply check that YourRule was not missed in 
your project (run requested in your CI server for example).

Regards,

Arnaud.
                
> Specify enforcer rule in command line without updateing any pom
> ---------------------------------------------------------------
>
>                 Key: MENFORCER-142
>                 URL: https://jira.codehaus.org/browse/MENFORCER-142
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Improvement
>          Components: Plugin
>            Reporter: Arnaud Bourree
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to