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 2019/11/14 15:46:29 UTC
[sling-org-apache-sling-caconfig-impl] branch master updated:
SLING-8824 put bnd config in POM with comments
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-org-apache-sling-caconfig-impl.git
The following commit(s) were added to refs/heads/master by this push:
new 161ecfc SLING-8824 put bnd config in POM with comments
161ecfc is described below
commit 161ecfc1a1cf6f43e10af76d960283e11b3624fa
Author: sseifert <ss...@pro-vision.de>
AuthorDate: Thu Nov 14 16:35:49 2019 +0100
SLING-8824 put bnd config in POM with comments
---
bnd.bnd | 8 --------
pom.xml | 20 ++++++++++++++++++++
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/bnd.bnd b/bnd.bnd
deleted file mode 100644
index 4c198f6..0000000
--- a/bnd.bnd
+++ /dev/null
@@ -1,8 +0,0 @@
-# WebConsole support is optional
-# Support XSS API 1.x and 2.x - we use only classes from the API with same signature in both versions
-# Remove those package imports because embedded and relocated via shade plugin (see below)
-Import-Package: \
- org.apache.felix.webconsole;resolution:=optional,\
- org.apache.sling.xss;version="[1.0.0,3)",\
- !org.apache.sling.commons.osgi,\
- *
diff --git a/pom.xml b/pom.xml
index 099e3d2..f4ba6c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,6 +45,26 @@
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>bnd-process</id>
+ <goals>
+ <goal>bnd-process</goal>
+ </goals>
+ <configuration>
+ <bnd>
+ Import-Package: \
+ <!-- WebConsole support is optional -->\
+ org.apache.felix.webconsole;resolution:=optional,\
+ <!-- Support XSS API 1.x and 2.x - we use only classes from the API with same signature in both versions -->\
+ org.apache.sling.xss;version="[1.0.0,3)",\
+ <!-- Remove those package imports because embedded and relocated via shade plugin (see below) -->\
+ !org.apache.sling.commons.osgi,\
+ *
+ </bnd>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>