From d05b5190e6e851906980851f0cf92508057275a6 Mon Sep 17 00:00:00 2001 From: Tomaz Cerar Date: Fri, 29 Jul 2016 17:06:38 +0200 Subject: [PATCH] make it compile and run tests on recent jdk9 builds --- pom.xml | 47 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 5b6b65012f0..a4a9e13bd26 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ org.jboss jboss-parent - 20 + 21 4.0.0 @@ -49,7 +49,7 @@ - svm:git@github.com:wildfly-security/wildfly-elytron.git + scm:git:git@github.com:wildfly-security/wildfly-elytron.git https://github.com/wildfly-security/wildfly-elytron @@ -83,6 +83,8 @@ 6.8 + + @@ -123,12 +125,13 @@ true false - true **/*Test.java **/*TestSuite.java - always + true + false + ${modular.jdk.args} @@ -426,6 +429,42 @@ + + + modularizedJdk + + 9 + + + + --add-modules java.corba,java.sql --add-exports java.security.sasl/com.sun.security.sasl.digest=ALL-UNNAMED + --add-exports java.security.sasl/com.sun.security.sasl=ALL-UNNAMED --add-exports jdk.unsupported/sun.reflect=ALL-UNNAMED + --add-exports java.base/sun.security.x509=ALL-UNNAMED + + + true + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${version.compiler.plugin} + + + true + + -J--add-modules + -Jjava.annotations.common + + + + + + + + + public-jboss