Skip to content

Commit abedf68

Browse files
committed
Upped JDK to 21
1 parent 1f67b17 commit abedf68

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed

.github/workflows/deploy.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-java@v4
2424
with:
25-
java-version: 11
25+
java-version: 21
2626
distribution: "temurin"
2727
server-id: openconext-releases
2828
server-username: MAVEN_USERNAME
@@ -51,21 +51,21 @@ jobs:
5151
exit 1
5252
if: github.event_name != 'workflow_dispatch' && steps.versioncheck.outputs.version != github.ref_name
5353

54-
- name: Set up JDK 11 for snapshots
54+
- name: Set up JDK 21 for snapshots
5555
uses: actions/setup-java@v4
5656
with:
57-
java-version: "11"
57+
java-version: "21"
5858
distribution: "temurin"
5959
cache: "maven"
6060
server-id: openconext-snapshots
6161
server-username: MAVEN_USERNAME
6262
server-password: MAVEN_PASSWORD
6363
if: ( endsWith(steps.versioncheck.outputs.version, '-SNAPSHOT'))
6464

65-
- name: Set up JDK 11 for releases
65+
- name: Set up JDK 21 for releases
6666
uses: actions/setup-java@v4
6767
with:
68-
java-version: "11"
68+
java-version: "21"
6969
distribution: "temurin"
7070
cache: "maven"
7171
server-id: openconext-releases

.github/workflows/maven.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: CI Github
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [ main ]
99
pull_request:
10-
branches: [ master ]
10+
branches: [ main ]
1111

1212
jobs:
1313
build:
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 11
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v2
2121
with:
22-
java-version: '11'
22+
java-version: '21'
2323
distribution: 'adopt'
2424
cache: 'maven'
2525
- name: Build with Maven

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ then the following has changed:
2424
* We no longer use Tomcat, but standalone Spring boot applications
2525
* The API has changed for all end-points requiring a single value (e.g. String or boolean) and only that value is required in the request body. See the API documentation below.
2626

27-
As of version 8.0.0 we run with Java 11.
27+
As of version 9.0.0 we run with Java 21.
2828

2929
Characteristics of both the IdP or SP can be runtime changed with the REST API.
3030

@@ -80,7 +80,7 @@ After you override configuration you can go back to the default using the reset
8080
Build Mujina
8181
---------------
8282

83-
[Maven 3](http://maven.apache.org) in combination with Java 11 is needed to build and run Mujina.
83+
[Maven 3](http://maven.apache.org) in combination with Java 21 is needed to build and run Mujina.
8484

8585
```bash
8686
git clone git@github.com:OpenConext/Mujina.git

mujina-common/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.openconext</groupId>
2323
<artifactId>mujina</artifactId>
24-
<version>8.0.12</version>
24+
<version>9.0.0</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

@@ -46,7 +46,7 @@
4646
<dependency>
4747
<groupId>org.projectlombok</groupId>
4848
<artifactId>lombok</artifactId>
49-
<version>1.18.22</version>
49+
<version>1.18.34</version>
5050
<scope>provided</scope>
5151
</dependency>
5252
<dependency>

mujina-idp/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM eclipse-temurin:11-jdk-alpine
1+
FROM eclipse-temurin:21-jdk-alpine
22
COPY target/*.jar app.jar
33
ENTRYPOINT ["java","-jar","/app.jar"]

mujina-idp/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.openconext</groupId>
2323
<artifactId>mujina</artifactId>
24-
<version>8.0.12</version>
24+
<version>9.0.0</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

@@ -58,7 +58,7 @@
5858
<dependency>
5959
<groupId>org.projectlombok</groupId>
6060
<artifactId>lombok</artifactId>
61-
<version>1.18.22</version>
61+
<version>1.18.34</version>
6262
<scope>provided</scope>
6363
</dependency>
6464
<dependency>
@@ -90,7 +90,7 @@
9090
<plugin>
9191
<groupId>org.springframework.boot</groupId>
9292
<artifactId>spring-boot-maven-plugin</artifactId>
93-
<version>2.6.3</version>
93+
<version>2.7.18</version>
9494
</plugin>
9595
</plugins>
9696
</build>

mujina-sp/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM eclipse-temurin:11-jdk-alpine
1+
FROM eclipse-temurin:21-jdk-alpine
22
COPY target/*.jar app.jar
33
ENTRYPOINT ["java","-jar","/app.jar"]

mujina-sp/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.openconext</groupId>
2323
<artifactId>mujina</artifactId>
24-
<version>8.0.12</version>
24+
<version>9.0.0</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

@@ -58,7 +58,7 @@
5858
<dependency>
5959
<groupId>org.projectlombok</groupId>
6060
<artifactId>lombok</artifactId>
61-
<version>1.18.22</version>
61+
<version>1.18.34</version>
6262
<scope>provided</scope>
6363
</dependency>
6464
<dependency>
@@ -90,7 +90,7 @@
9090
<plugin>
9191
<groupId>org.springframework.boot</groupId>
9292
<artifactId>spring-boot-maven-plugin</artifactId>
93-
<version>2.6.3</version>
93+
<version>2.7.18</version>
9494
</plugin>
9595
</plugins>
9696
</build>

pom.xml

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020

2121
<groupId>org.openconext</groupId>
2222
<artifactId>mujina</artifactId>
23-
<version>8.0.12</version>
23+
<version>9.0.0</version>
2424
<packaging>pom</packaging>
2525

2626
<parent>
2727
<groupId>org.springframework.boot</groupId>
2828
<artifactId>spring-boot-starter-parent</artifactId>
29-
<version>2.6.3</version>
29+
<version>2.7.18</version>
3030
</parent>
3131

3232
<properties>
3333
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34-
<java.version>11</java.version>
34+
<java.version>21</java.version>
3535
</properties>
3636

3737
<modules>
@@ -63,15 +63,15 @@
6363
<plugin>
6464
<groupId>org.apache.maven.plugins</groupId>
6565
<artifactId>maven-compiler-plugin</artifactId>
66-
<version>3.9.0</version>
66+
<version>3.13.0</version>
6767
<configuration>
68-
<release>11</release>
68+
<release>21</release>
6969
</configuration>
7070
</plugin>
7171
<plugin>
7272
<groupId>org.jacoco</groupId>
7373
<artifactId>jacoco-maven-plugin</artifactId>
74-
<version>0.8.7</version>
74+
<version>0.8.12</version>
7575
<executions>
7676
<execution>
7777
<goals>
@@ -90,7 +90,7 @@
9090
<plugin>
9191
<groupId>org.apache.maven.plugins</groupId>
9292
<artifactId>maven-enforcer-plugin</artifactId>
93-
<version>3.0.0</version>
93+
<version>3.5.0</version>
9494
<executions>
9595
<execution>
9696
<id>enforce-versions</id>
@@ -103,7 +103,7 @@
103103
<version>3.8.4</version>
104104
</requireMavenVersion>
105105
<requireJavaVersion>
106-
<version>11</version>
106+
<version>21</version>
107107
</requireJavaVersion>
108108
</rules>
109109
</configuration>
@@ -115,7 +115,7 @@
115115
<extension>
116116
<groupId>org.apache.maven.wagon</groupId>
117117
<artifactId>wagon-webdav-jackrabbit</artifactId>
118-
<version>3.5.1</version>
118+
<version>3.5.3</version>
119119
</extension>
120120
</extensions>
121121
</build>

0 commit comments

Comments
 (0)