You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2017/04/05 20:28:42 UTC

svn commit: r1790325 - /webservices/axiom/trunk/pom.xml

Author: veithen
Date: Wed Apr  5 20:28:42 2017
New Revision: 1790325

URL: http://svn.apache.org/viewvc?rev=1790325&view=rev
Log:
Some initial support for Java 9.

Modified:
    webservices/axiom/trunk/pom.xml

Modified: webservices/axiom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/pom.xml?rev=1790325&r1=1790324&r2=1790325&view=diff
==============================================================================
--- webservices/axiom/trunk/pom.xml (original)
+++ webservices/axiom/trunk/pom.xml Wed Apr  5 20:28:42 2017
@@ -557,7 +557,7 @@
                              the data instead of loading it into memory). Obviously, the execution time of
                              these tests also are proportional to the heap size. To accelerate the execution
                              of the tests, we should use a heap size as small as possible. -->
-                        <argLine>-Xms16m -Xmx48m ${jacoco.surefireArgLine} ${securityManagerArgs}</argLine>
+                        <argLine>-Xms16m -Xmx48m ${jacoco.surefireArgLine} ${securityManagerArgs} ${jigsawArgs}</argLine>
                         <systemProperties>
                             <property>
                                 <name>java.io.tmpdir</name>
@@ -880,7 +880,9 @@
                                         project.properties['skipJacoco'] = 'true'
                                     }
                                     
-                                    project.properties['javadoc.nolint.param'] = System.properties['java.specification.version'] == '1.7' ? '' : '-Xdoclint:none';
+                                    project.properties['javadoc.nolint.param'] = System.properties['java.specification.version'] == '1.7' ? '' : '-Xdoclint:none'
+
+                                    project.properties['jigsawArgs'] = System.properties['java.specification.version'] == '9' ? '--add-modules java.activation,java.xml.bind --add-opens java.xml/com.sun.xml.internal.stream=ALL-UNNAMED' : ''
                                 ]]></script>
                             </scripts>
                         </configuration>