Skip to content

Commit

Permalink
Merge pull request #242 from jamezp/WFARQ-124
Browse files Browse the repository at this point in the history
[WFARQ-124] Require a minimum of Java 11 for runtime.
  • Loading branch information
jamezp authored Nov 10, 2022
2 parents 5d30e50 + 11cfb8e commit 86aaa06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest ]
java: ['8', '11', '17']
java: ['11', '17']

steps:
- uses: actions/checkout@v2
Expand Down
12 changes: 8 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@

<!-- Build minimums -->
<maven.min.version>3.6.0</maven.min.version>

<!-- Require at least Java 11 to compile -->
<jdk.min.version>11</jdk.min.version>
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
</properties>

<licenses>
Expand All @@ -120,10 +126,8 @@
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Set the source to 8 as that is the target, but allows this to be compiled with new versions
of Java.
-->
<source>8</source>
<release>${maven.compiler.release}</release>
<additionalJOption>--no-module-directories</additionalJOption>
</configuration>
</plugin>
<!-- Checkstyle -->
Expand Down

0 comments on commit 86aaa06

Please sign in to comment.