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

slachiewicz 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 aaaf197  (doc) Switch to Java 11
aaaf197 is described below

commit aaaf197935f61897ca594e07cbf5de793eda088a
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sat Dec 4 21:40:13 2021 +0100

    (doc) Switch to Java 11
---
 Jenkinsfile | 4 ++--
 pom.xml     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 6193f9f..45b55ea 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,11 +30,11 @@ pipeline {
                 branch 'master'
             }
             steps {
-                withMaven(jdk:'jdk_1.8_latest', maven:'maven_3_latest', 
mavenLocalRepo:'.repository', options: [
+                withMaven(jdk:'jdk_17_latest', maven:'maven_3_latest', 
mavenLocalRepo:'.repository', options: [
                   artifactsPublisher(disabled: true),
                   findbugsPublisher(disabled: true),
                 ]) {
-                    sh "mvn -B -V -e -Preporting -Papache.snapshots 
-Dscreenshot=false clean install site"
+                    sh "mvn -ntp -V -e -Preporting -Papache.snapshots 
-Dscreenshot=false clean install site"
                 }
             }
         }
diff --git a/pom.xml b/pom.xml
index c5cc6da..6007f0a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -53,8 +53,8 @@
   <properties>
     <netbeans.checkstyle.format>true</netbeans.checkstyle.format>
     <mvnversion>3.0.5</mvnversion>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>    
+    <maven.compiler.source>11</maven.compiler.source>
+    <maven.compiler.target>11</maven.compiler.target>
   </properties>
 
   <dependencies>

Reply via email to