Adding jdk9 profile

This commit is contained in:
Joakim Erdfelt 2016-10-25 15:15:46 -07:00
parent 33eb768d69
commit 1151964d74
1 changed files with 20 additions and 0 deletions

20
pom.xml
View File

@ -1161,5 +1161,25 @@
<alpn.version>8.1.9.v20160720</alpn.version>
</properties>
</profile>
<profile>
<id>jdk9</id>
<activation>
<jdk>1.9</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.9</source>
<target>1.9</target>
<testSource>1.9</testSource>
<testTarget>1.9</testTarget>
<compilerArgument>-Xlint:all</compilerArgument>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>