You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2024/12/13 14:54:26 UTC
(sling-org-apache-sling-feature-extension-content) 01/01: SLING-12568 - Content extension advertises services for shaded and relocated packages
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch issue/SLING-12568
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-extension-content.git
commit 7b650d8791eb2ef4b36b49f9839493877d764213
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Dec 13 15:53:07 2024 +0100
SLING-12568 - Content extension advertises services for shaded and relocated packages
Exclude META-INF/services files from dependencies that have them. With this change only the
org.apache.sling.feature.launcher.spi.extensions.ExtensionHandler is advertised.
---
pom.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/pom.xml b/pom.xml
index c6da6ce..15a16b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,26 @@
<exclude>org.slf4j:*</exclude>
</excludes>
</artifactSet>
+ <filters>
+ <filter>
+ <artifact>org.apache.jackrabbit.vault:*</artifact>
+ <excludes>
+ <exclude>META-INF/services/**</exclude>
+ </excludes>
+ </filter>
+ <filter>
+ <artifact>org.apache.jackrabbit:*</artifact>
+ <excludes>
+ <exclude>META-INF/services/**</exclude>
+ </excludes>
+ </filter>
+ <filter>
+ <artifact>com.fasterxml.woodstox:*</artifact>
+ <excludes>
+ <exclude>META-INF/services/**</exclude>
+ </excludes>
+ </filter>
+ </filters>
<relocations>
<!-- shade and relocate all "compile" scope dependencies (which are not coming with the launcher) -->
<relocation>