You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/02 14:53:00 UTC

[jira] [Commented] (MENFORCER-142) Specify enforcer rule in command line without updateing any pom

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

ASF GitHub Bot commented on MENFORCER-142:
------------------------------------------

lrozenblyum commented on issue #31: MENFORCER-142 Initial poc implementation of adding rules from cmdline (WIP)
URL: https://github.com/apache/maven-enforcer/pull/31#issuecomment-377946805
 
 
   It's an amazing feature! Any plans integrating it to master and releasing a new plugin version? :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Specify enforcer rule in command line without updateing any pom
> ---------------------------------------------------------------
>
>                 Key: MENFORCER-142
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-142
>             Project: Maven Enforcer Plugin
>          Issue Type: Improvement
>          Components: Plugin
>            Reporter: Arnaud Bourrée
>            Priority: Major
>             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
(v7.6.3#76005)