Skip to content

Commit

Permalink
allow overriding min target SE version from the command line
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Sep 7, 2021
1 parent 328b3dd commit 67c8f11
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
</repositories>

<properties>
<!-- Minimum required JDK version -->
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.testRelease>11</maven.compiler.testRelease>

<!-- TOOL Properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdoc.doclint>all,-missing</jdoc.doclint>
Expand Down Expand Up @@ -1213,7 +1217,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>11</release>
<release>${maven.compiler.release}</release>
<testRelease>${maven.compiler.testRelease}</testRelease>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
Expand Down Expand Up @@ -1595,7 +1600,7 @@
<additionalOption>${warn.limit}</additionalOption>
</additionalOptions>
<minmemory>2G</minmemory>
<release>11</release>
<release>${maven.compiler.release}</release>
<doclint>${jdoc.doclint}</doclint>
<quiet>true</quiet>
</configuration>
Expand Down

0 comments on commit 67c8f11

Please sign in to comment.