slawekjaranowski commented on code in PR #322:
URL: https://github.com/apache/maven-enforcer/pull/322#discussion_r1676273669


##########
enforcer-rules/src/main/java/org/apache/maven/enforcer/rules/ExternalRules.java:
##########
@@ -46,11 +57,75 @@ public final class ExternalRules extends 
AbstractEnforcerRuleConfigProvider {
     private static final String LOCATION_PREFIX_CLASSPATH = "classpath:";
 
     /**
-     * The external rules location. If it starts with "classpath:", the 
resource is read from the classpath.
+     * The external rules location. If it starts with <code>classpath:</code> 
the resource is read from the classpath.
      * Otherwise, it is handled as a filesystem path, either absolute, or 
relative to <code>${project.basedir}</code>
+     *
+     * @since 3.2.0
      */
     private String location;
 
+    /**
+     * An optional location of an XSLT file used to transform the rule 
document available via {@link #location} before
+     * it is applied. If it starts with <code>classpath:</code> the resource 
is read from the classpath.
+     * Otherwise, it is handled as a filesystem path, either absolute, or 
relative to <code>${project.basedir}</code>

Review Comment:
   unfortunately - documentation is not generated from code ...
   please move it to: enforcer-rules/src/site/apt/externalRules.apt.vm



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to