You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2025/10/02 13:21:33 UTC

(jackrabbit-filevault) branch master updated: Use JR2 minimum version for SPI dependencies

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

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git


The following commit(s) were added to refs/heads/master by this push:
     new 65c13771 Use JR2 minimum version for SPI dependencies
65c13771 is described below

commit 65c137710bf0b93402fa187168af91335bc8a12b
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Oct 2 14:32:36 2025 +0200

    Use JR2 minimum version for SPI dependencies
    
    Otherwise you transitively raise the runtime requirements according to
    the maximum version, as those are embedded in OSGi bundles deployed on
    the server side
---
 parent/pom.xml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index d4733db1..4d005935 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -451,21 +451,23 @@ Bundle-Category: jackrabbit
                 <artifactId>jackrabbit-webdav</artifactId>
                 <version>${jackrabbit.min.version}</version>
             </dependency>
-            <!-- the following jackrabbit dependencies are usually not used on the server side, i.e. not available in OSGi containers -->
+            <!-- the following jackrabbit dependencies are usually not used on the server side, i.e. not available in OSGi containers
+                 however, they are embedded in OSGi bundles deployed to servers, therefore also use min.version to not raise
+                 transitive runtime requirements -->
             <dependency>
                 <groupId>org.apache.jackrabbit</groupId>
                 <artifactId>jackrabbit-jcr2spi</artifactId>
-                <version>${jackrabbit.max.version}</version>
+                <version>${jackrabbit.min.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.jackrabbit</groupId>
                 <artifactId>jackrabbit-spi2dav</artifactId>
-                <version>${jackrabbit.max.version}</version>
+                <version>${jackrabbit.min.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.jackrabbit</groupId>
                 <artifactId>jackrabbit-jcr-client</artifactId>
-                <version>${jackrabbit.max.version}</version>
+                <version>${jackrabbit.min.version}</version>
             </dependency>
 
             <!-- JCR Stuff -->