Description
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.
Attachments
Issue Links
- breaks
-
MENFORCER-384 Introduce Maven Enforcer Extension
-
- Closed
-
- relates to
-
MENFORCER-383 Have the ability to supply rules not specified in the POM inheritance
-
- Closed
-
- links to