Jeffery Painter
2018-10-02 21:24:43 UTC
Hi dev team,
so... it looks like the double dash in the add-modules kind of breaks
maven when they are commented out :-(
I will try to find a more clean solution, but I was experimenting with
trying to build all of turbine-5.0 and fulcrum with the latest jdk-11...
there are a few hurdles to overcome, but I will see if I can make it
happen and keep you posted. Happy to take these commits out until I get
it all working if you prefer.
Just let me know.
Thanks!
Jeff
so... it looks like the double dash in the add-modules kind of breaks
maven when they are commented out :-(
I will try to find a more clean solution, but I was experimenting with
trying to build all of turbine-5.0 and fulcrum with the latest jdk-11...
there are a few hurdles to overcome, but I will see if I can make it
happen and keep you posted. Happy to take these commits out until I get
it all working if you prefer.
Just let me know.
Thanks!
Jeff
Author: painter
Date: Tue Oct 2 21:03:34 2018
New Revision: 1842655
URL: http://svn.apache.org/viewvc?rev=1842655&view=rev
Adding some pointers to the pom.xml for those who want to build with JDK 9+
turbine/fulcrum/trunk/quartz/pom.xml
Modified: turbine/fulcrum/trunk/quartz/pom.xml
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/quartz/pom.xml?rev=1842655&r1=1842654&r2=1842655&view=diff
==============================================================================
--- turbine/fulcrum/trunk/quartz/pom.xml (original)
+++ turbine/fulcrum/trunk/quartz/pom.xml Tue Oct 2 21:03:34 2018
@@ -66,6 +66,32 @@
</developers>
<dependencies>
+
+ <!-- uncomment if using Java 9 JDK or later -->
+ <!--
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-core</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ -->
+
+
<!-- Test Dependencies -->
<dependency>
<groupId>junit</groupId>
@@ -112,10 +138,26 @@
<build>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<testSourceDirectory>${basedir}/src/test</testSourceDirectory>
+
+ <!-- uncomment plugins if using JDK 9 or later -->
+ <!--
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>always</forkMode>
+ <argLine>--add-modules java.xml.bind</argLine>
+ <argLine>--add-modules java.activation</argLine>
+ <argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --illegal-access=deny</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ -->
</build>
<properties>
<turbine.site.path>fulcrum/fulcrum-quartz</turbine.site.path>
</properties>
-</project>
\ No newline at end of file
+</project>
Date: Tue Oct 2 21:03:34 2018
New Revision: 1842655
URL: http://svn.apache.org/viewvc?rev=1842655&view=rev
Adding some pointers to the pom.xml for those who want to build with JDK 9+
turbine/fulcrum/trunk/quartz/pom.xml
Modified: turbine/fulcrum/trunk/quartz/pom.xml
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/quartz/pom.xml?rev=1842655&r1=1842654&r2=1842655&view=diff
==============================================================================
--- turbine/fulcrum/trunk/quartz/pom.xml (original)
+++ turbine/fulcrum/trunk/quartz/pom.xml Tue Oct 2 21:03:34 2018
@@ -66,6 +66,32 @@
</developers>
<dependencies>
+
+ <!-- uncomment if using Java 9 JDK or later -->
+ <!--
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-core</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ -->
+
+
<!-- Test Dependencies -->
<dependency>
<groupId>junit</groupId>
@@ -112,10 +138,26 @@
<build>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<testSourceDirectory>${basedir}/src/test</testSourceDirectory>
+
+ <!-- uncomment plugins if using JDK 9 or later -->
+ <!--
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>always</forkMode>
+ <argLine>--add-modules java.xml.bind</argLine>
+ <argLine>--add-modules java.activation</argLine>
+ <argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --illegal-access=deny</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ -->
</build>
<properties>
<turbine.site.path>fulcrum/fulcrum-quartz</turbine.site.path>
</properties>
-</project>
\ No newline at end of file
+</project>