gnodet commented on code in PR #1217:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/1217#discussion_r4801800589


##########
pom.xml:
##########
@@ -196,6 +228,54 @@ under the License.
         </plugin>
       </plugins>
     </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-java-build-version</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireJavaVersion>
+                  <!--
+                    Building this plugin requires JDK 24+ so that the 
java.lang.classfile

Review Comment:
   This is now consistent. The enforcer comment accurately describes the 
current state: JDK 25+ is required, `src/main/java24` is active in the 
`<sources>` block, and the directory contains the `java.lang.classfile`-backed 
implementation. The earlier inconsistency (java24 commented out) was fixed in 
subsequent commits.
   
   _Claude Code on behalf of Guillaume Nodet_



##########
pom.xml:
##########
@@ -184,6 +204,18 @@ 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

Review Comment:
   The `src/main/java24` directory now exists and is active. The javadoc 
comment accurately describes the current state: java24 sources are a MR-JAR 
override for `java.lang.classfile` and are excluded from javadoc generation 
because they require `-release 24`.
   
   _Claude Code on behalf of Guillaume Nodet_



-- 
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