diff --git a/java/pom.xml b/java/pom.xml index 76db28f8e3..e95027b77c 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -85,6 +85,7 @@ maven-javadoc-plugin 3.3.0 + 8 -Xdoclint:none -Xdoclint:none @@ -102,6 +103,11 @@ maven-bundle-plugin 5.1.2 true + + + true + + org.sonatype.plugins @@ -157,14 +163,43 @@ maven-compiler-plugin - - 8 - - MyGame/Example/MonsterStorageGrpc.java - MyGame/OtherNameSpace/TableBT.java - - 3.8.1 + + + default-compile + + 8 + + MyGame/Example/MonsterStorageGrpc.java + MyGame/OtherNameSpace/TableBT.java + + + + + default-testCompile + + 8 + + MyGame/Example/MonsterStorageGrpc.java + MyGame/OtherNameSpace/TableBT.java + + + + + compile-java9 + compile + + compile + + + 9 + + ${project.basedir}/src/main/java9 + + true + + + diff --git a/java/src/main/java9/module-info.java b/java/src/main/java9/module-info.java new file mode 100644 index 0000000000..2b565d80f0 --- /dev/null +++ b/java/src/main/java9/module-info.java @@ -0,0 +1,4 @@ +module com.google.flatbuffers { + exports com.google.flatbuffers; + exports com.google.flatbuffers.reflection; +}