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

2018-04-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/MENFORCER-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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:
us...@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)


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

2018-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on MENFORCER-142:
--

HongkaiWen 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-372125616
 
 
   this is really a great job!


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:
us...@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)


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

2018-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on MENFORCER-142:
--

Chuckame 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-371795845
 
 
   +1


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:
us...@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)


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

2018-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on MENFORCER-142:
--

Chuckame 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-371803425
 
 
   Hi !
   On CI, I want to check if my project version is snapshot on develop and 
feature branches, and NOT snapshot on master and tags.
   So it is really useful with `requireSnapshotVersion` and 
`requireReleaseVersion` rules.


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:
us...@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)


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

2018-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on MENFORCER-142:
--

Chuckame 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-371795845
 
 
   +1


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:
us...@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)


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

2018-03-02 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on MENFORCER-142:
--

askoog opened a new pull request #31: MENFORCER-142 Initial poc implementation 
of adding rules from cmdline (WIP)
URL: https://github.com/apache/maven-enforcer/pull/31
 
 
   Made a quick implementation of how to set maven enforcer rules directly on 
command line. This would be a great tool to use in CI servers etc. where you 
want to enforce rules that are not in the pom of the project (for example 
verifying dependencyConvergance before building a release without having each 
project specify this themselves)
   
   The implementation is a bit rough and only supports the native enforcer 
rules with no additional configuration at the moment.
   
   With this implementation, it is possible to invoke the plugin with a command 
line argument -Drules=rule1,rule2...
   
   Example:
   `mvn org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-SNAPSHOT:enforce 
-Drules=alwaysPass,alwaysFail`
   


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:
us...@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)


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

2016-06-03 Thread DK (JIRA)

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

DK commented on MENFORCER-142:
--

I'd like something like 

mvn enforcer:enforce 
-Drules=org.apache.maven.plugins.enforcer.RequireReleaseDeps 

or even better

mvn enforcer:enforce -DrulesFile=C:/rules.xml

where rules.xml contains a bunch of rules similar to what you'd add to pom.xml

> 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
> 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.3.4#6332)


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

2015-10-05 Thread Geert Pante (JIRA)

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

Geert Pante commented on MENFORCER-142:
---

See also: 
http://stackoverflow.com/questions/22157668/run-maven-enforcer-plugin-rule-on-command-line


> 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
> 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.3.4#6332)