Skip to content

Commit

Permalink
Merge pull request #1379 from folio-org/OKAPI-1204-java-21
Browse files Browse the repository at this point in the history
OKAPI-1204: Migrate Java from 17 to 21
  • Loading branch information
julianladisch authored Feb 27, 2025
2 parents bc6bb01 + 6a98701 commit f2c4988
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildMvn {
publishModDescriptor = 'no'
mvnDeploy = 'yes'
buildNode = 'jenkins-agent-java17'
buildNode = 'jenkins-agent-java21'
buildDeb = true

doDocker = {
Expand Down
2 changes: 1 addition & 1 deletion okapi-core/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM folioci/alpine-jre-openjdk17:latest
FROM folioci/alpine-jre-openjdk21:latest

# Install latest patch versions of packages: https://pythonspeed.com/articles/security-updates-in-docker/
USER root
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>17</release>
<release>21</release>
<compilerArgument>-Xlint:unchecked</compilerArgument>
</configuration>
</plugin>
Expand Down

0 comments on commit f2c4988

Please sign in to comment.