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


##########
pom.xml:
##########
@@ -164,6 +164,17 @@ under the License.
   <build>
     <pluginManagement>
       <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <!--
+            Use the last published 4.x version to compile ourselves: this is 
required so that
+            Maven can process the <sources> DSL (targetVersion per source 
directory) introduced
+            in model version 4.1.0. The 3.x compiler plugin does not 
understand this DSL and
+            would compile all source directories together with a single 
-release flag.
+          -->
+          <version>4.0.0-beta-5</version>
+        </plugin>

Review Comment:
   Should also use Maven JAR Plugin 4.0.0-beta-2 for getting the verification 
of the multi-JAR validity.



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