From 95747b74f155cb7c4cb890743a05ae8bda939d9a Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Thu, 16 May 2024 12:46:07 +0200 Subject: [PATCH] Fix usage of Java 17 --- .github/workflows/ci.yml | 1 + scenario-task-3/pom.xml | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a273192..5a1183d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -314,6 +314,7 @@ jobs: with: app-dir: 'scenario-task-3' mvn-build-commands: '-B clean install spring-boot:build-image' + java-version: '17' artifactory-publish: ${{ inputs.maven-build-only != true }} jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }} docker-push: ${{ inputs.maven-build-only != true }} diff --git a/scenario-task-3/pom.xml b/scenario-task-3/pom.xml index 0a66d85..e34fd57 100644 --- a/scenario-task-3/pom.xml +++ b/scenario-task-3/pom.xml @@ -124,10 +124,6 @@ org.apache.maven.plugins maven-compiler-plugin 3.13.0 - - 17 - 17 - org.springframework.boot