You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2025/10/20 07:59:07 UTC

(directory-ldap-api) 01/02: Added a Java option to get rid of the SecurityManager removal message

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

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git

commit ff662042056f9fbb3f3ffe367f7a24a65c06043e
Author: Emmanuel Lécharny <em...@worteks.com>
AuthorDate: Mon Oct 20 09:57:25 2025 +0200

    Added a Java option to get rid of the SecurityManager removal message
---
 Jenkinsfile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0da52cb87..5d013d906 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -90,19 +90,19 @@ pipeline {
             echo 'Building JDK 21 Linux'
             sh 'java -version'
             sh 'mvn -version'
-            sh 'mvn clean install -Pserial'
+            sh 'mvn clean install -Pserial -Djava.security.manager=allow'
           }
         }
 
-        stage('Build JDK 17 Linux') {
+        stage('Build JDK 25 Linux') {
           tools {
-            jdk "jdk_17_latest"
+            jdk "jdk_25_latest"
           }
           steps {
-            echo 'Building JDK 17 Linux'
+            echo 'Building JDK 25 Linux'
             sh 'java -version'
             sh 'mvn -version'
-            sh 'mvn clean install -Pserial'
+            sh 'mvn clean install -Pserial -Djava.security.manager=allow'
           }
         }
       }