You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2019/06/05 16:41:38 UTC

[sling-org-apache-sling-scripting-sightly-models-provider] branch master updated: SLING-8471 - Update the HTL modules to the Sling bundle parent pom 35

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

radu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git


The following commit(s) were added to refs/heads/master by this push:
     new e0b569f  SLING-8471 - Update the HTL modules to the Sling bundle parent pom 35
e0b569f is described below

commit e0b569fe06ad901a41c2814ffc678584af99b73d
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Wed Jun 5 18:40:42 2019 +0200

    SLING-8471 - Update the HTL modules to the Sling bundle parent pom 35
---
 bnd.bnd |  1 +
 pom.xml | 27 ++-------------------------
 2 files changed, 3 insertions(+), 25 deletions(-)

diff --git a/bnd.bnd b/bnd.bnd
new file mode 100644
index 0000000..a1c2bda
--- /dev/null
+++ b/bnd.bnd
@@ -0,0 +1 @@
+Require-Capability: io.sightly.runtime; filter:="(&(version>=1.0)(!(version>=2.0)))", io.sightly; filter:="(&(version>=1.0)(!(version>=2.0)))"
diff --git a/pom.xml b/pom.xml
index 27f75b6..ed2c4fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,8 +24,8 @@
     <!-- ======================================================================= -->
     <parent>
         <groupId>org.apache.sling</groupId>
-        <artifactId>sling</artifactId>
-        <version>34</version>
+        <artifactId>sling-bundle-parent</artifactId>
+        <version>35</version>
         <relativePath />
     </parent>
 
@@ -34,7 +34,6 @@
     <!-- ======================================================================= -->
     <artifactId>org.apache.sling.scripting.sightly.models.provider</artifactId>
     <version>1.0.9-SNAPSHOT</version>
-    <packaging>bundle</packaging>
 
     <name>Apache Sling Scripting HTL Sling Models Use Provider</name>
 
@@ -56,28 +55,6 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <executions>
-                    <execution>
-                        <id>scr-metadata</id>
-                        <goals>
-                            <goal>manifest</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <exportScr>true</exportScr>
-                    <instructions>
-                        <Require-Capability>
-                            io.sightly.runtime; filter:="(&amp;(version&gt;=1.0)(!(version&gt;=2.0)))",
-                            io.sightly; filter:="(&amp;(version&gt;=1.0)(!(version&gt;=2.0)))"
-                        </Require-Capability>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <configuration>