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 <[email protected]> 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>
