desruisseaux commented on code in PR #1158:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/1158#discussion_r4727771982


##########
pom.xml:
##########
@@ -180,6 +191,21 @@ under the License.
             </pom>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <configuration>
+            <!--
+              Restrict javadoc to src/main/java only.
+              The src/main/java24 sources are a MR-JAR override for 
java.lang.classfile
+              and duplicate the same public API already documented from 
src/main/java.
+              Including them would cause javadoc to fail because the classfile 
API
+              requires the -release 24 flag / module access that the site 
reporting phase
+              does not provide.

Review Comment:
   Those 3 lines are secondary and could be omitted. The important thing was 
said in 3 first lines.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to