Skip to content

Commit

Permalink
Added profile for Java 11+ to guard about generated bytecode
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Dec 29, 2020
1 parent 619cc02 commit 062e414
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,26 @@
</plugins>
</build>
</profile>
<profile>
<id>java11</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<showDeprecation>true</showDeprecation>
<release>${javaVersion}</release>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>

0 comments on commit 062e414

Please sign in to comment.