[
https://issues.apache.org/jira/browse/MENFORCER-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14512300#comment-14512300
]
Robert Scholte commented on MENFORCER-159:
------------------------------------------
I see what you mean. I'm pretty sure this class isn't used anymore (that part
is reverted). But it seems like I forgot to remove the class.
> Add goal recommend which will only warn but never fail a build
> --------------------------------------------------------------
>
> Key: MENFORCER-159
> URL: https://issues.apache.org/jira/browse/MENFORCER-159
> Project: Maven Enforcer Plugin
> Issue Type: New Feature
> Components: Plugin
> Affects Versions: 1.3
> Reporter: Mirko Friedenhagen
> Assignee: Robert Scholte
> Attachments: recommend-mojo.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)