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:20:15 UTC

[sling-org-apache-sling-commons-messaging-mail] 02/02: SLING-7417 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-commons-messaging-mail.git

commit c83506bfef054234c4193931704c0831b6c6b36c
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sun Jan 21 09:19:47 2018 +0100

    SLING-7417 Use bnd Maven plugins
---
 bnd.bnd | 19 +++++++++++++++++++
 pom.xml | 19 +++++++++----------
 2 files changed, 28 insertions(+), 10 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 1f9d337..4a6cb45 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,6 @@
 
   <artifactId>org.apache.sling.commons.messaging.mail</artifactId>
   <version>0.0.1-SNAPSHOT</version>
-  <packaging>bundle</packaging>
 
   <name>Apache Sling Commons Messaging Mail</name>
   <description>Messaging service using Commons Email to send mails.</description>
@@ -51,16 +50,16 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <extensions>true</extensions>
-        <configuration>
-          <instructions>
-            <_dsannotations>*</_dsannotations>
-            <_metatypeannotations>*</_metatypeannotations>
-          </instructions>
-        </configuration>
+        <groupId>biz.aQute.bnd</groupId>
+        <artifactId>bnd-maven-plugin</artifactId>
+      </plugin>
+      <!-- enable baseline after initial release -->
+      <!--
+      <plugin>
+        <groupId>biz.aQute.bnd</groupId>
+        <artifactId>bnd-baseline-maven-plugin</artifactId>
       </plugin>
+      -->
       <plugin>
         <groupId>org.apache.servicemix.tooling</groupId>
         <artifactId>depends-maven-plugin</artifactId>

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