Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.3
-
None
-
None
-
Patch
Description
In our company's parent POM we define a lot of rules, some of which are controversial or may not be easily fulfilled. The patch I attach defines a new goal "recommend" which will always warn but never fail. It's configuration is done by a new element recommendations which just holds a sequence of rules.
I extracted most of EnforceMojo to AbstractEnforceMojo to avoid code duplication. I added an invoker test and all tests ran successfully.
See https://github.com/apache/maven-enforcer/pull/4 as well for easier review.
Attachments
Attachments
Issue Links
- duplicates
-
MENFORCER-160 Add levels ERROR and WARN to enforcer rules
- Closed
- is related to
-
MENFORCER-160 Add levels ERROR and WARN to enforcer rules
- Closed