diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e45c02a..87445eb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 21 distribution: "temurin" server-id: openconext-releases server-username: MAVEN_USERNAME @@ -51,10 +51,10 @@ jobs: exit 1 if: github.event_name != 'workflow_dispatch' && steps.versioncheck.outputs.version != github.ref_name - - name: Set up JDK 11 for snapshots + - name: Set up JDK 21 for snapshots uses: actions/setup-java@v4 with: - java-version: "11" + java-version: "21" distribution: "temurin" cache: "maven" server-id: openconext-snapshots @@ -62,10 +62,10 @@ jobs: server-password: MAVEN_PASSWORD if: ( endsWith(steps.versioncheck.outputs.version, '-SNAPSHOT')) - - name: Set up JDK 11 for releases + - name: Set up JDK 21 for releases uses: actions/setup-java@v4 with: - java-version: "11" + java-version: "21" distribution: "temurin" cache: "maven" server-id: openconext-releases diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5ccc382..9ef5be4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -5,9 +5,9 @@ name: CI Github on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '21' distribution: 'adopt' cache: 'maven' - name: Build with Maven diff --git a/README.md b/README.md index 37e63d6..ce2e558 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ then the following has changed: * We no longer use Tomcat, but standalone Spring boot applications * 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. -As of version 8.0.0 we run with Java 11. +As of version 9.0.0 we run with Java 21. Characteristics of both the IdP or SP can be runtime changed with the REST API. @@ -80,7 +80,7 @@ After you override configuration you can go back to the default using the reset Build Mujina --------------- -[Maven 3](http://maven.apache.org) in combination with Java 11 is needed to build and run Mujina. +[Maven 3](http://maven.apache.org) in combination with Java 21 is needed to build and run Mujina. ```bash git clone git@github.com:OpenConext/Mujina.git diff --git a/mujina-common/pom.xml b/mujina-common/pom.xml index 8dd80f7..5ee0328 100644 --- a/mujina-common/pom.xml +++ b/mujina-common/pom.xml @@ -21,7 +21,7 @@ org.openconext mujina - 8.0.12 + 9.0.0 ../pom.xml @@ -46,7 +46,7 @@ org.projectlombok lombok - 1.18.22 + 1.18.34 provided diff --git a/mujina-idp/docker/Dockerfile b/mujina-idp/docker/Dockerfile index 6db5b00..d05aa42 100644 --- a/mujina-idp/docker/Dockerfile +++ b/mujina-idp/docker/Dockerfile @@ -1,3 +1,3 @@ -FROM eclipse-temurin:11-jdk-alpine +FROM eclipse-temurin:21-jdk-alpine COPY target/*.jar app.jar ENTRYPOINT ["java","-jar","/app.jar"] diff --git a/mujina-idp/pom.xml b/mujina-idp/pom.xml index 92cd430..56fc11f 100644 --- a/mujina-idp/pom.xml +++ b/mujina-idp/pom.xml @@ -21,7 +21,7 @@ org.openconext mujina - 8.0.12 + 9.0.0 ../pom.xml @@ -58,7 +58,7 @@ org.projectlombok lombok - 1.18.22 + 1.18.34 provided @@ -90,7 +90,7 @@ org.springframework.boot spring-boot-maven-plugin - 2.6.3 + 2.7.18 diff --git a/mujina-sp/docker/Dockerfile b/mujina-sp/docker/Dockerfile index 6db5b00..d05aa42 100644 --- a/mujina-sp/docker/Dockerfile +++ b/mujina-sp/docker/Dockerfile @@ -1,3 +1,3 @@ -FROM eclipse-temurin:11-jdk-alpine +FROM eclipse-temurin:21-jdk-alpine COPY target/*.jar app.jar ENTRYPOINT ["java","-jar","/app.jar"] diff --git a/mujina-sp/pom.xml b/mujina-sp/pom.xml index 1cd7f81..9542c63 100644 --- a/mujina-sp/pom.xml +++ b/mujina-sp/pom.xml @@ -21,7 +21,7 @@ org.openconext mujina - 8.0.12 + 9.0.0 ../pom.xml @@ -58,7 +58,7 @@ org.projectlombok lombok - 1.18.22 + 1.18.34 provided @@ -90,7 +90,7 @@ org.springframework.boot spring-boot-maven-plugin - 2.6.3 + 2.7.18 diff --git a/pom.xml b/pom.xml index 9db1176..c983957 100644 --- a/pom.xml +++ b/pom.xml @@ -20,18 +20,18 @@ org.openconext mujina - 8.0.12 + 9.0.0 pom org.springframework.boot spring-boot-starter-parent - 2.6.3 + 2.7.18 UTF-8 - 11 + 21 @@ -63,15 +63,15 @@ org.apache.maven.plugins maven-compiler-plugin - 3.9.0 + 3.13.0 - 11 + 21 org.jacoco jacoco-maven-plugin - 0.8.7 + 0.8.12 @@ -90,7 +90,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0 + 3.5.0 enforce-versions @@ -103,7 +103,7 @@ 3.8.4 - 11 + 21 @@ -115,7 +115,7 @@ org.apache.maven.wagon wagon-webdav-jackrabbit - 3.5.1 + 3.5.3