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 14:45:21 UTC

[sling-org-apache-sling-scripting-groovy] branch master updated: SLING-7394 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-scripting-groovy.git


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

commit 1fc395c8eb3571cc4ce573170854bb1d60fa9c84
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Jan 17 15:45:10 2018 +0100

    SLING-7394 Use bnd Maven plugins
---
 bnd.bnd | 21 +++++++++++++++++++++
 pom.xml | 21 ++++++---------------
 2 files changed, 27 insertions(+), 15 deletions(-)

diff --git a/bnd.bnd b/bnd.bnd
new file mode 100644
index 0000000..c99a014
--- /dev/null
+++ b/bnd.bnd
@@ -0,0 +1,21 @@
+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
+
+ScriptEngine-Name: ${project.name}
+
+ScriptEngine-Version: ${project.version}
+
+-baseline: *
+
+-removeheaders:\
+  Embed-Dependency,\
+  Embed-Transitive,\
+  Include-Resource,\
+  Private-Package
diff --git a/pom.xml b/pom.xml
index b757f1c..3bed33a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,6 @@
 
   <artifactId>org.apache.sling.scripting.groovy</artifactId>
   <version>1.0.3-SNAPSHOT</version>
-  <packaging>bundle</packaging>
 
   <name>Apache Sling Scripting Groovy</name>
   <description>Support for scripting with Groovy</description>
@@ -51,20 +50,12 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <extensions>true</extensions>
-        <configuration>
-          <instructions>
-            <ScriptEngine-Name>${project.name}</ScriptEngine-Name>
-            <ScriptEngine-Version>${project.version}</ScriptEngine-Version>
-            <_removeheaders>
-              Embed-Dependency,
-              Private-Package,
-              Include-Resource
-            </_removeheaders>
-          </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>'].