File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 878
878
879
879
</profile >
880
880
881
+ <profile >
882
+ <!-- this avoids a compiler warning on Java 9+ -->
883
+ <!-- the compiler setting is not available on Java 8 -->
884
+ <id >use-release-compiler-argument-on-java-9-or-more</id >
885
+ <activation >
886
+ <jdk >[9,)</jdk >
887
+ </activation >
888
+ <build >
889
+ <plugins >
890
+ <plugin >
891
+ <artifactId >maven-compiler-plugin</artifactId >
892
+ <version >${maven.compiler.plugin.version} </version >
893
+ <configuration >
894
+ <source >1.8</source >
895
+ <target >1.8</target >
896
+ <release >8</release >
897
+ <compilerArgs >
898
+ <arg >-Xlint:deprecation</arg >
899
+ <arg >-Xlint:unchecked</arg >
900
+ </compilerArgs >
901
+ </configuration >
902
+ </plugin >
903
+ </plugins >
904
+ </build >
905
+ </profile >
906
+
881
907
</profiles >
882
908
883
909
</project >
You can’t perform that action at this time.
0 commit comments