You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by an...@apache.org on 2019/12/04 00:09:57 UTC

[sling-org-apache-sling-jcr-packageinit] branch feature/fm-descriptor created (now 5ab0300)

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

andysch pushed a change to branch feature/fm-descriptor
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-packageinit.git.


      at 5ab0300  Added the creation and installation of a FM Descriptor to the project

This branch includes the following new commits:

     new 5ab0300  Added the creation and installation of a FM Descriptor to the project

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-org-apache-sling-jcr-packageinit] 01/01: Added the creation and installation of a FM Descriptor to the project

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andysch pushed a commit to branch feature/fm-descriptor
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-packageinit.git

commit 5ab0300ef773d2354d4054436546bccf0a4d862b
Author: Andreas Schaefer <sc...@iMac.local>
AuthorDate: Tue Dec 3 16:09:37 2019 -0800

    Added the creation and installation of a FM Descriptor to the project
---
 pom.xml | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 588e418..5fac767 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,6 +40,11 @@
         <url>https://gitbox.apache.org/repos/asf?p=sling-org-apache-sling-jcr-packageinit.git</url>
         <tag>HEAD</tag>
     </scm>
+
+    <properties>
+        <slingfeature-maven-plugin.version>1.1.11-SNAPSHOT</slingfeature-maven-plugin.version>
+    </properties>
+
     <build>
         <plugins>
             <plugin>
@@ -72,7 +77,26 @@
                     </instructions>
                  </configuration>
             </plugin>
-          
+
+            <!-- Generate and Install the Sling OSGi Feature Model file -->
+            <plugin>
+                <groupId>org.apache.sling</groupId>
+                <artifactId>slingfeature-maven-plugin</artifactId>
+                <version>${slingfeature-maven-plugin.version}</version>
+                <extensions>true</extensions>
+                <executions>
+                    <execution>
+                        <id>create-fm-descriptor</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>create-fm-descriptor</goal>
+                        </goals>
+                        <configuration>
+                            <classifier>jcr-packageinit</classifier>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>