diff --git a/.circleci/config.yml b/.circleci/config.yml index 564754e..9d67fd2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -57,8 +57,9 @@ jobs: executors: new-java-maven-executor: - docker: - - image: cimg/openjdk:11.0.25 + machine: + image: ubuntu-2204:2024.11.1 + parameters: run_workflow_release: default: false @@ -77,7 +78,8 @@ workflows: requires: - build-and-test executor: new-java-maven-executor - mvn-release-prepare-command: >- - mvn --batch-mode release:prepare -ntp -Dmaven.test.skip=true -DscmCommentPrefix="[skip ci] [maven-release-plugin] " mvn-release-perform-command: >- - mvn --batch-mode release:perform -ntp -Dmaven.test.skip=true -s .circleci/.maven.xml + sudo apt-get update && sudo apt-get install openjdk-11-jdk + sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java + sudo update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac + mvn --batch-mode release:perform -DskipTests -s .circleci/.maven.xml