Hi,
I tried to contribute a Enforcer Rule to Apache Maven Enforcer in 
https://issues.apache.org/jira/browse/MENFORCER-385 (PR in 
https://github.com/apache/maven-enforcer/pull/97)
Unfortunately the Maven committers consider this rule covering too much of an 
edge case to be considered for integration in the standard rule set.

The rule is useful for Sling (but not limited to it). For use cases look at 
1. 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/16
 (uber-jar with maven-shader-plugin)
2. https://issues.apache.org/jira/browse/JCRVLT-394 (Maven plugin)
3. https://github.com/adobe/aemanalyser-maven-plugin/issues/58 (Maven plugin)

I propose to create a dedicated repository in Sling containing Enforcer Rules 
starting with this one rule.
WDYT?

I know that Sling is maybe not the perfect fit, but MojoHaus Extra Enforcer 
Rules (https://github.com/mojohaus/extra-enforcer-rules) does not have much 
activity and lots of unmerged PRs and Apache Maven Enforcer already declined it.
The other alternative is that I publish the rule on my personal GitHub space, 
but I would like have it under the Apache umbrella....

Once we have it in Sling and have a release I would like to include it in 
https://github.com/apache/sling-org-apache-sling-feature-extension-content and 
probably some more Sling projects....
WDYT,
Konrad


Reply via email to