Skip to content

Commit

Permalink
Add JDK 21 support (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
vharseko authored Oct 23, 2023
1 parent 0b0bb75 commit cb69ead
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ '8','11','17','19']
java: [ '8','11','17','21']
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
fail-fast: false
steps:
Expand Down
3 changes: 1 addition & 2 deletions opendj-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<parallel>methods</parallel>
<threadCount>1</threadCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
Expand Down
4 changes: 3 additions & 1 deletion opendj-ldap-toolkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
</configuration>
</plugin>

<plugin>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.0</version>
<configuration>
<fork>true</fork>
<compilerArgs>
Expand All @@ -365,7 +365,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.0</version>
</plugin>

<plugin>
Expand Down Expand Up @@ -446,7 +446,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version> <!-- M6 DecodeException but got java.nio.BufferOverflowException -->
<version>3.1.2</version> <!-- M6 DecodeException but got java.nio.BufferOverflowException -->
<configuration>
<properties>
<property>
Expand Down

0 comments on commit cb69ead

Please sign in to comment.