You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2025/03/04 15:03:47 UTC

(sling-maven-plugin) branch master updated: SLING-12515 Make build compatible with Java 21 (#22)

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

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 8d9ebd1  SLING-12515 Make build compatible with Java 21 (#22)
8d9ebd1 is described below

commit 8d9ebd100495307d0d5dc0f1310d36fe5b00d888
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Tue Mar 4 16:03:42 2025 +0100

    SLING-12515 Make build compatible with Java 21 (#22)
    
    and update dependencies
---
 .sling-module.json                                         |  2 +-
 pom.xml                                                    | 14 +++++++-------
 .../sling/maven/bundlesupport/deploy/DeployMethod.java     |  5 ++---
 3 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/.sling-module.json b/.sling-module.json
index 0419030..cfad4d2 100644
--- a/.sling-module.json
+++ b/.sling-module.json
@@ -1,5 +1,5 @@
 {
   "jenkins": {
-    "jdks": [17]
+    "jdks": [17, 21]
   }
 }
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 4572ef4..fc61c83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,19 +63,19 @@
         <dependency>
             <groupId>org.apache.httpcomponents.client5</groupId>
             <artifactId>httpclient5</artifactId>
-            <version>5.1.3</version>
+            <version>5.1.4</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.commons</groupId>
             <artifactId>commons-lang3</artifactId>
-            <version>3.12.0</version>
+            <version>3.17.0</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
-            <version>2.14.0</version>
+            <version>2.18.0</version>
             <scope>compile</scope>
         </dependency>
         <!-- just for JsonTicksConverter -->
@@ -95,13 +95,13 @@
         <dependency>
             <groupId>org.apache.jackrabbit.vault</groupId>
             <artifactId>org.apache.jackrabbit.vault</artifactId>
-            <version>3.6.0</version>
+            <version>3.8.2</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>jakarta.json</groupId>
             <artifactId>jakarta.json-api</artifactId>
-            <version>2.1.2</version>
+            <version>2.1.3</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
@@ -118,7 +118,7 @@
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.framework</artifactId>
-            <version>1.8.0</version>
+            <version>1.10.0</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
@@ -149,7 +149,7 @@
         <dependency>
             <groupId>io.github.classgraph</groupId>
             <artifactId>classgraph</artifactId>
-            <version>4.8.149</version>
+            <version>4.8.179</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
diff --git a/src/main/java/org/apache/sling/maven/bundlesupport/deploy/DeployMethod.java b/src/main/java/org/apache/sling/maven/bundlesupport/deploy/DeployMethod.java
index 8d8d509..4b146b8 100644
--- a/src/main/java/org/apache/sling/maven/bundlesupport/deploy/DeployMethod.java
+++ b/src/main/java/org/apache/sling/maven/bundlesupport/deploy/DeployMethod.java
@@ -22,8 +22,6 @@ import java.io.File;
 import java.io.IOException;
 import java.net.URI;
 
-import org.apache.sling.maven.bundlesupport.deploy.method.FelixPostDeployMethod;
-
 /**
  * Deploys/installs and undeploys/uninstalls bundles on a Sling instance.
  */
@@ -42,7 +40,8 @@ public interface DeployMethod {
     /**
      * Undeploy/uninstall a bundle on a Sling instance.
      * @param targetURL Target URL
-     * @param bundleName Bundle symbolic name or file name (for all methods except for {@link FelixPostDeployMethod})
+     * @param bundleName Bundle symbolic name or file name (for all methods except for
+     *      {@link org.apache.sling.maven.bundlesupport.deploy.method.FelixPostDeployMethod})
      * @param context Deploy context parameters
      * @throws IOException in case of failure
      */