From 6a92f651f8f56c6d43bea35ffc52554e5c6ed4bb Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sun, 24 Oct 2021 14:03:28 +0200 Subject: [PATCH] Move to Java 17 --- .github/workflows/branch_build.yml | 10 +++++----- .github/workflows/pr_build.yml | 2 +- docker/Dockerfile | 2 +- pom.xml | 11 +++-------- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/branch_build.yml b/.github/workflows/branch_build.yml index 23b5f4d97..3cf875c61 100644 --- a/.github/workflows/branch_build.yml +++ b/.github/workflows/branch_build.yml @@ -12,11 +12,11 @@ jobs: name: "Package and linting" steps: - uses: actions/checkout@v2 - - name: set up JDK 16 + - name: set up JDK 17 uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 16 + java-version: 17 architecture: x64 - name: Cache Maven packages uses: actions/cache@v2.1.5 @@ -38,11 +38,11 @@ jobs: - mvn -pl webgoat-integration-tests test steps: - uses: actions/checkout@v2 - - name: set up JDK 16 + - name: set up JDK 17 uses: actions/setup-java@v2 with: - distribution: 'zulu' - java-version: 16 + distribution: 'temurin' + java-version: 17 architecture: x64 - name: Cache Maven packages uses: actions/cache@v2.1.5 diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 8c31118f7..1b50e0aa8 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - java: [16] + java: [17] steps: - uses: actions/checkout@v2 - name: Set up JDK ${{ matrix.java }} diff --git a/docker/Dockerfile b/docker/Dockerfile index fda1ab0aa..83fd7470d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:16.0.2_7-jdk-focal +FROM eclipse-temurin:17_35-jdk-focal RUN apt-get update RUN useradd -ms /bin/bash webgoat diff --git a/pom.xml b/pom.xml index f0923b89a..5dcb91c7a 100644 --- a/pom.xml +++ b/pom.xml @@ -19,10 +19,6 @@ 2006 https://github.com/WebGoat/WebGoat - - 3.2.5 - - OWASP https://github.com/WebGoat/WebGoat/ @@ -114,11 +110,10 @@ UTF-8 UTF-8 - 15 - 15 + 17 + 17 - 1.1.1 2.5.2 3.2.1 3.12.0 @@ -132,7 +127,7 @@ 3.1.1 3.1.0 3.0.0-M5 - 15 + 17