This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git
The following commit(s) were added to refs/heads/master by this push: new ea72221 Use JDK 21 for build and target ea72221 is described below commit ea7222180c71f650670a8c3eeb0a4c1ee92b3095 Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Thu Oct 31 22:25:32 2024 +0100 Use JDK 21 for build and target - internally used project so we can use the newer JDK --- Jenkinsfile | 4 ++-- pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7fa28d8..ecd681d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,7 +36,7 @@ pipeline { stage('Build') { steps { - withMaven(jdk:'jdk_17_latest', maven:'maven_3_latest', mavenLocalRepo:'.repository', options: [ + withMaven(jdk:'jdk_21_latest', maven:'maven_3_latest', mavenLocalRepo:'.repository', options: [ artifactsPublisher(disabled: true), findbugsPublisher(disabled: true), ]) { @@ -60,7 +60,7 @@ pipeline { branch 'master' } steps { - withMaven(jdk:'jdk_17_latest', maven:'maven_3_latest', mavenLocalRepo:'.repository', options: [ + withMaven(jdk:'jdk_21_latest', maven:'maven_3_latest', mavenLocalRepo:'.repository', options: [ artifactsPublisher(disabled: true), findbugsPublisher(disabled: true), ]) { diff --git a/pom.xml b/pom.xml index b1a2615..3d43806 100644 --- a/pom.xml +++ b/pom.xml @@ -62,8 +62,8 @@ <mvnversion>3.9.9</mvnversion> <!-- TODO check with next parent --> <versions.junit5>5.11.3</versions.junit5> - <maven.compiler.source>8</maven.compiler.source> - <maven.compiler.target>8</maven.compiler.target> + <maven.compiler.target>21</maven.compiler.target> + <minimalJavaBuildVersion>21</minimalJavaBuildVersion> </properties> <dependencyManagement>