Skip to content

Commit

Permalink
Merge pull request #214 from HannesWell/specify-release
Browse files Browse the repository at this point in the history
[Build] Set Java Compiler's -release option instead of -source + -target
  • Loading branch information
NiklasRentzCAU authored Oct 28, 2024
2 parents 541b941 + 344e114 commit e98296d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>

<!-- pin the source code compatibility to 11 for the sake of backward compatibility -->
<maven.compiler.source>11</maven.compiler.source>

<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>

<!-- Enable java assertions during junit test runs. -->
<!-- The "enableAssertions" property is only available in the maven-surefire plugin. -->
Expand Down

0 comments on commit e98296d

Please sign in to comment.