diff options
Diffstat (limited to 'pom.xml')
-rwxr-xr-x | pom.xml | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -111,10 +111,16 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <compilerArgument>-Xlint:deprecation</compilerArgument> - <source>1.8</source> - <target>1.8</target> + <source>1.9</source> + <target>1.9</target> + <fork>true</fork> <encoding>UTF-8</encoding> + <compilerArgs> + <arg>-Xlint:deprecation</arg> + <arg>--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED</arg> + <arg>--add-exports=java.base/sun.nio.ch=ALL-UNNAMED</arg> + <arg>--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED</arg> + </compilerArgs> </configuration> </plugin> <!-- |