You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/16 14:06:50 UTC

[commons-fileupload] branch master updated: Produce JPMS data on Java >= 9

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git


The following commit(s) were added to refs/heads/master by this push:
     new 5bb0c0c  Produce JPMS data on Java >= 9
5bb0c0c is described below

commit 5bb0c0cc7617064e946a4594e00514c18689e04e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jun 16 10:06:46 2023 -0400

    Produce JPMS data on Java >= 9
---
 pom.xml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3b4ba63..48e2adc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -535,8 +535,7 @@
 		<jdk>[9,)</jdk>
 	  </activation>
       <properties>
-		<!-- Disable JPMS junk heap until we can get it to work -->
-        <moditect.skip>true</moditect.skip>
+        <moditect.java.version>9</moditect.java.version>
       </properties>
       <build>
 		<plugins>
@@ -552,7 +551,10 @@
                   <goal>add-module-info</goal>
                 </goals>
                 <configuration>
-                  <jvmVersion>9</jvmVersion>
+                  <jvmVersion>${moditect.java.version}</jvmVersion>
+                  <jdepsExtraArgs>
+                    <arg>--multi-release=${moditect.java.version}</arg>
+                  </jdepsExtraArgs>
                   <outputDirectory>${project.build.directory}</outputDirectory>
                   <overwriteExistingFiles>true</overwriteExistingFiles>
                   <module>