You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2022/06/24 06:39:04 UTC

[sling-parent] branch feature/SLING-11412-ban-osgi-aggregate-deps created (now 9c21e3d)

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

kwin pushed a change to branch feature/SLING-11412-ban-osgi-aggregate-deps
in repository https://gitbox.apache.org/repos/asf/sling-parent.git


      at 9c21e3d  SLING-11412 ban OSGi aggregate dependencies

This branch includes the following new commits:

     new 9c21e3d  SLING-11412 ban OSGi aggregate dependencies

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-parent] 01/01: SLING-11412 ban OSGi aggregate dependencies

Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/SLING-11412-ban-osgi-aggregate-deps
in repository https://gitbox.apache.org/repos/asf/sling-parent.git

commit 9c21e3d21a27a9ba3a42ae99d8f4fcf7b72d29e0
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri Jun 24 08:38:59 2022 +0200

    SLING-11412 ban OSGi aggregate dependencies
---
 sling-bundle-parent/pom.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sling-bundle-parent/pom.xml b/sling-bundle-parent/pom.xml
index e1d05e9..eda3596 100644
--- a/sling-bundle-parent/pom.xml
+++ b/sling-bundle-parent/pom.xml
@@ -156,6 +156,13 @@ Bundle-DocURL: https://sling.apache.org
                                     </excludes>
                                     <message>Please change all occurrences of maven-sling-plugin to sling-maven-plugin (plugin was renamed).</message>
                                 </bannedPlugins>
+                                <bannedDependencies>
+                                    <excludes>
+                                        <exclude>org.osgi:osgi.core</exclude>
+                                        <exclude>org.osgi:osgi.cmpn</exclude>
+                                    </excludes>
+                                    <message>Use the individual OSGi chapter dependencies instead of the aggregate ones. Further infos at http://docs.osgi.org/artifacts/#aggregate-artifacts.</message>
+                                </bannedDependencies>
                             </rules>
                         </configuration>
                     </execution>
@@ -214,7 +221,7 @@ Bundle-DocURL: https://sling.apache.org
                 <version>7.0.0</version>
                 <scope>provided</scope>
             </dependency>
-            <!-- Compendium R6 -->
+            <!-- Compendium R7 -->
             <dependency>
                 <groupId>org.osgi</groupId>
                 <artifactId>osgi.cmpn</artifactId>