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/17 15:05:05 UTC

[sling-org-apache-sling-testing-paxexam] branch master updated: SLING-7395 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-testing-paxexam.git


The following commit(s) were added to refs/heads/master by this push:
     new 9775520  SLING-7395 Use bnd Maven plugins
9775520 is described below

commit 97755209b7d440f9b53462781b2ef85c1b1f369d
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Jan 17 16:04:54 2018 +0100

    SLING-7395 Use bnd Maven plugins
---
 bnd.bnd | 25 +++++++++++++++++++++++++
 pom.xml | 22 +++++++---------------
 2 files changed, 32 insertions(+), 15 deletions(-)

diff --git a/bnd.bnd b/bnd.bnd
new file mode 100644
index 0000000..5bf08e3
--- /dev/null
+++ b/bnd.bnd
@@ -0,0 +1,25 @@
+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
+
+Import-Package:\
+  org.osgi.service.cm.*;resolution:=optional,\
+  org.ops4j.pax.exam.cm.*;resolution:=optional,\
+  org.ops4j.pax.tinybundles.*;resolution:=optional,\
+  *
+
+-baseline: *
+
+-exportcontents: ${packages;VERSIONED}
+
+-removeheaders:\
+  Embed-Dependency,\
+  Embed-Transitive,\
+  Include-Resource,\
+  Private-Package
diff --git a/pom.xml b/pom.xml
index 01b6e04..69abaa1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,8 +29,7 @@
   </parent>
 
   <artifactId>org.apache.sling.testing.paxexam</artifactId>
-  <version>0.0.5-SNAPSHOT</version>
-  <packaging>bundle</packaging>
+  <version>1.0.0-SNAPSHOT</version>
 
   <name>Apache Sling Testing PaxExam</name>
   <description>Test support for use with Pax Exam.</description>
@@ -51,19 +50,12 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <extensions>true</extensions>
-        <configuration>
-          <instructions>
-            <Import-Package>
-              org.osgi.service.cm.*;resolution:=optional,
-              org.ops4j.pax.exam.cm.*;resolution:=optional,
-              org.ops4j.pax.tinybundles.*;resolution:=optional,
-              *
-            </Import-Package>
-          </instructions>
-        </configuration>
+        <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>'].