[MENFORCER-516] Use rule configuration in POM when executed from CLI by bpfoster · Pull Request #344 · apache/maven-enforcer (original) (raw)

This will allow the enforcer to utilize rule configuration defined in the project POM when the rule is run explicitly from the command line, e.g. mvn enforcer:enforce -Denforcer.rules=requireReleaseDeps.

Following this checklist to help us incorporate your contribution quickly and easily:

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.