Closed masooh closed 9 years ago
This will possibly not be possible as implementation
attribute can only be ommited if object is in the same package as the Mojo. In this case: org.apache.maven.plugins.enforcer
. See: https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping_Complex_Objects
You could add adapter classes in the org.apache.maven.plugins.enforcer
package, that have the same name as the rules and simply extend them.
This works for the standard rules, but is not described in http://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html how to do that.