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:14:00 UTC

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


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

commit ee998eeabe48c072d4a24b045c8e33adbd5ba558
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Jan 17 16:13:49 2018 +0100

    SLING-7396 Use bnd Maven plugins
---
 bnd.bnd | 21 +++++++++++++++++++++
 pom.xml | 12 ++----------
 2 files changed, 23 insertions(+), 10 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 046d6fd..fba3038 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,6 @@
 
   <artifactId>org.apache.sling.scripting.freemarker</artifactId>
   <version>1.0.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
 
   <name>Apache Sling Scripting FreeMarker</name>
   <description>Support for FreeMarker scripting</description>
@@ -51,15 +50,8 @@
   <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>
-          </instructions>
-        </configuration>
+        <groupId>biz.aQute.bnd</groupId>
+        <artifactId>bnd-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>'].