mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 04:10:52 +01:00
suppress compiler warning about bootclasspath with older source, see https://blogs.oracle.com/darcy/entry/bootclasspath_older_source
This commit is contained in:
8
pom.xml
8
pom.xml
@@ -192,14 +192,18 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.0</version>
|
||||
<version>3.5.1</version>
|
||||
<configuration>
|
||||
<showWarnings>true</showWarnings>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
<source>${project.build.javaLevel}</source>
|
||||
<target>${project.build.javaLevel}</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
||||
<!--
|
||||
suppress compiler warning about bootclasspath with older source
|
||||
see https://blogs.oracle.com/darcy/entry/bootclasspath_older_source
|
||||
-->
|
||||
<compilerArgument>-Xlint:unchecked,-options</compilerArgument>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user