Skip to content

Commit

Permalink
Update to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Oct 14, 2023
1 parent c3f73f3 commit 6ca3a25
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

env:
JAVA_DISTRIBUTION: temurin
JAVA_VERSION: 17
JAVA_VERSION: 21

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# THE SOFTWARE.
#

FROM eclipse-temurin:17-jdk-focal
FROM eclipse-temurin:21-jdk-alpine

WORKDIR /fdp

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#
################################################################################
# BUILD STAGE
FROM maven:3-eclipse-temurin-17-focal as builder
FROM maven:3-eclipse-temurin-21-alpine as builder

WORKDIR /builder

Expand All @@ -32,7 +32,7 @@ RUN mvn -q -B -U -ff -DskipTests package

################################################################################
# RUN STAGE
FROM eclipse-temurin:17-jdk-focal
FROM eclipse-temurin:21-jdk-alpine

WORKDIR /fdp

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ e.g. [app.fairdatapoint.org/swagger-ui.html](https://app.fairdatapoint.org/swagg

### Technology Stack

- **Java** (JDK 17)
- **Java** (JDK 21)
- **MongoDB** (4.2)
- **Maven** (3.2.5 or higher)
- **Docker** (19.03.0-ce or higher) - *for building Docker image only*
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Maven -->
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>

<!-- Project related -->
<spring.rdf.migration.version>1.2.0.RELEASE</spring.rdf.migration.version>
Expand Down

0 comments on commit 6ca3a25

Please sign in to comment.