You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/01/21 08:42:56 UTC

[sling-org-apache-sling-resource-presence] 02/03: SLING-7399 Use bnd Maven plugins

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

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resource-presence.git

commit 9e1e618f1400106e97f4fe2a0ffd2649ad2ef88c
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Thu Jan 18 11:19:52 2018 +0100

    SLING-7399 Use bnd Maven plugins
---
 bnd.bnd | 19 +++++++++++++++++++
 pom.xml | 10 ++++++----
 2 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/bnd.bnd b/bnd.bnd
new file mode 100644
index 0000000..9806ee8
--- /dev/null
+++ b/bnd.bnd
@@ -0,0 +1,19 @@
+Bundle-Category: sling
+
+Bundle-Description: ${project.description}
+
+Bundle-DocURL: https://sling.apache.org
+
+Bundle-License: Apache License, Version 2.0
+
+Bundle-Vendor: The Apache Software Foundation
+
+-baseline: *
+
+-exportcontents: ${packages;VERSIONED}
+
+-removeheaders:\
+  Embed-Dependency,\
+  Embed-Transitive,\
+  Include-Resource,\
+  Private-Package
diff --git a/pom.xml b/pom.xml
index bcf6e52..3755cda 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,6 @@
 
   <artifactId>org.apache.sling.resource.presence</artifactId>
   <version>0.0.3-SNAPSHOT</version>
-  <packaging>bundle</packaging>
 
   <name>Apache Sling Resource Presence</name>
   <description>Apache Sling Resource Presence</description>
@@ -165,9 +164,12 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <extensions>true</extensions>
+        <groupId>biz.aQute.bnd</groupId>
+        <artifactId>bnd-maven-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>biz.aQute.bnd</groupId>
+        <artifactId>bnd-baseline-maven-plugin</artifactId>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.