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 2022/06/03 15:42:18 UTC

[jackrabbit-filevault] branch feature/JCRVLT-634-check-shipped-dependencies updated: add missing transitive provided dependency

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

kwin pushed a commit to branch feature/JCRVLT-634-check-shipped-dependencies
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git


The following commit(s) were added to refs/heads/feature/JCRVLT-634-check-shipped-dependencies by this push:
     new e50faa88 add missing transitive provided dependency
e50faa88 is described below

commit e50faa88e13ca6c73c295b867d17e122f47c6b55
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri Jun 3 17:42:13 2022 +0200

    add missing transitive provided dependency
---
 vault-cli/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/vault-cli/pom.xml b/vault-cli/pom.xml
index f97f2f59..368808a6 100644
--- a/vault-cli/pom.xml
+++ b/vault-cli/pom.xml
@@ -131,6 +131,12 @@
                                     implementation="org.apache.sling.maven.enforcer.RequireTransitiveProvidedDependenciesInRuntimeClasspath">
                                     <excludes>
                                         <exclude>javax.servlet:javax.servlet-api</exclude><!-- not used in the CLI context -->
+                                        <exclude>*:txw2</exclude><!-- embedded in vault-core -->
+                                        <exclude>*:woodstox-core</exclude><!-- embedded in vault-core -->
+                                        <exclude>*:stax2-api</exclude><!-- embedded in vault-core -->
+                                        <exclude>*:maven-artifact</exclude><!-- embedded in vault-core -->
+                                        <exclude>*:h2</exclude><!-- embedded in vault-core -->
+                                        <exclude>*:*.annotation*</exclude><!-- no annotation is evaluated at run time -->
                                     </excludes>
                                 </requireTransitiveProvidedDependenciesInRuntimeClasspath>
                             </rules>
@@ -151,6 +157,12 @@
             <artifactId>org.apache.jackrabbit.vault</artifactId>
             <version>3.6.1-SNAPSHOT</version>
         </dependency>
+        <!-- transitive (but with scope "provided") dependency of vault -->
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.framework</artifactId>
+            <scope>runtime</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.jackrabbit.vault</groupId>
             <artifactId>vault-vlt</artifactId>