diff --git a/factory/pom.xml b/factory/pom.xml index be10d54960..50d9314b29 100644 --- a/factory/pom.xml +++ b/factory/pom.xml @@ -168,6 +168,14 @@ + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.2 + + ${test.jvm.flags} + + maven-jar-plugin 3.2.0 @@ -200,4 +208,15 @@ + + + open-modules + + [9,) + + + --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED + + + diff --git a/value/processor/pom.xml b/value/processor/pom.xml index b0628bb70e..c7dcff5e57 100644 --- a/value/processor/pom.xml +++ b/value/processor/pom.xml @@ -167,6 +167,14 @@ + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.2 + + ${test.jvm.flags} + + org.apache.maven.plugins maven-jar-plugin @@ -232,5 +240,14 @@ -Xdoclint:none + + open-modules + + [9,) + + + --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED + + diff --git a/value/src/it/functional/pom.xml b/value/src/it/functional/pom.xml index 38554ca4bd..e293fc4509 100644 --- a/value/src/it/functional/pom.xml +++ b/value/src/it/functional/pom.xml @@ -149,6 +149,14 @@ true + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.2 + + ${test.jvm.flags} + + @@ -195,5 +203,14 @@ **/AutoValueJava8Test.java + + open-modules + + [9,) + + + --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED + +