You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/10/31 21:30:13 UTC

(maven-dist-tool) branch jdk-21 created (now 1a75c1d)

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a change to branch jdk-21
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git


      at 1a75c1d  Use JDK 21 for build and target

This branch includes the following new commits:

     new 1a75c1d  Use JDK 21 for build and target

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-dist-tool) 01/01: Use JDK 21 for build and target

Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch jdk-21
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git

commit 1a75c1d85a8cd6a2fbd481b603cd2f4466831b7e
Author: Slawomir Jaranowski <s....@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 6a04429..1bdcdfa 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>