destebanm edited a comment on issue #36: [MENFORCER-142] documentation - add 
example for checking rules via cli
URL: https://github.com/apache/maven-enforcer/pull/36#issuecomment-470917137
 
 
   Hi!
   
   I have built the snapshot (as @Mazorius suggested) and the CLI is working 
but I don“t know how to use it, hehehe.
   I am able to run commands like that:
   `mvn enforcer:enforce -Drules=alwaysFail`
   
   but I would like to run this with the CLI
   
   ```
           <bannedDependencies>
              <excludes>
                 <exclude>x.y:logger:(,10.93)</exclude>
                 <exclude>x.y:soap-utils:(,10.93)</exclude>
                 <exclude>x.y:correlation-id:(,10.93)</exclude>
              </excludes>
           </bannedDependencies>
   ```
   Is there any kind of documentation about how to use the CLI??
   Thanks!!

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


With regards,
Apache Git Services

Reply via email to