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 2018/10/09 22:16:26 UTC

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

Author: veithen
Date: Tue Oct  9 22:16:26 2018
New Revision: 1843352

URL: http://svn.apache.org/viewvc?rev=1843352&view=rev
Log:
Correctly apply --add-modules on Java 10.

Modified:
    webservices/axiom/trunk/pom.xml

Modified: webservices/axiom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/pom.xml?rev=1843352&r1=1843351&r2=1843352&view=diff
==============================================================================
--- webservices/axiom/trunk/pom.xml (original)
+++ webservices/axiom/trunk/pom.xml Tue Oct  9 22:16:26 2018
@@ -904,7 +904,7 @@
                                     
                                     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.se.ee' : ''
+                                    project.properties['jigsawArgs'] = System.properties['java.specification.version'].startsWith('1.') ? '' : '--add-modules java.se.ee'
                                 ]]></script>
                             </scripts>
                         </configuration>