askoog opened a new pull request #31: MENFORCER-142 Initial poc implementation 
of adding rules from cmdline (WIP)
   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...
   `mvn org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-SNAPSHOT:enforce 

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:

With regards,
Apache Git Services

Reply via email to