You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/05/21 14:25:00 UTC
[jira] [Closed] (MENFORCER-383) Have the ability to supply rules
not specified in the POM inheritance
[ https://issues.apache.org/jira/browse/MENFORCER-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MENFORCER-383.
------------------------------------
Assignee: Robert Scholte
Resolution: Won't Fix
I think it was a bad idea to try to add rules via the commandline, because it only works for a very small set of rules (as expected).
With MENFORCER-384 I've created an extension which fits much better to the way Maven works and should match all requirements.
> Have the ability to supply rules not specified in the POM inheritance
> ---------------------------------------------------------------------
>
> Key: MENFORCER-383
> URL: https://issues.apache.org/jira/browse/MENFORCER-383
> Project: Maven Enforcer Plugin
> Issue Type: Improvement
> Components: Plugin
> Affects Versions: 3.0.0-M3
> Reporter: Mario Jauvin
> Assignee: Robert Scholte
> Priority: Major
>
> Currently, the rules user property can only specify rules that have no arguments/attributes like alwaysFail which is not very useful. It would be great to be able to specify rules using an external file and a rulesFile user property. I have a pull request that will come forth with the improvement which is not very difficult.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)