You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2020/06/02 21:26:57 UTC
[sling-org-apache-sling-starter] branch feature/SLING-9498 created
(now bac5041)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to branch feature/SLING-9498
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git.
at bac5041 SLING-9498 - Create feature model aggregates on the fly from the Sling Starter build
This branch includes the following new commits:
new bac5041 SLING-9498 - Create feature model aggregates on the fly from the Sling Starter build
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-starter] 01/01: SLING-9498 - Create feature
model aggregates on the fly from the Sling Starter build
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch feature/SLING-9498
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git
commit bac50415db0cc21b1ca29f3a9c2806ea1c87207b
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Mon May 11 23:09:46 2020 +0200
SLING-9498 - Create feature model aggregates on the fly from the Sling Starter build
---
pom.xml | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 76 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 79c026a..894022d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,7 +129,82 @@
<IT.expected.bundles.count>${IT.expected.bundles.count}</IT.expected.bundles.count>
</systemPropertyVariables>
</configuration>
- </plugin>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>sling-feature-converter-maven-plugin</artifactId>
+ <version>1.0.4</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>convert-pm</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>convert-pm</goal>
+ </goals>
+ <configuration>
+ <inputFolder>src/main/provisioning</inputFolder>
+ <outputFolder>target/fm</outputFolder>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
+ <frameworkProperties>
+ launchpad:felix.systempackages.substitution=true,
+ launchpad:felix.systempackages.calculate.uses=true
+ </frameworkProperties>
+ <excludeBundles>
+ org.apache.sling.launchpad.installer,
+ org.apache.sling.jcr.repoinit.impl.RepositoryInitializer
+ </excludeBundles>
+ <runModes>
+ oak_tar,
+ :standalone
+ </runModes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>slingfeature-maven-plugin</artifactId>
+ <version>1.3.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <features>target/fm</features>
+ </configuration>
+ <executions>
+ <execution>
+ <id>aggregate-features</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>aggregate-features</goal>
+ <!-- fails for now, but application starts ...
+ <goal>analyse-features</goal>
+ -->
+ <goal>attach-features</goal>
+ </goals>
+ <configuration>
+ <framework>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.framework</artifactId>
+ <version>6.0.3</version>
+ </framework>
+ <scans>
+ <scan>
+ <includeClassifier>oak_tar</includeClassifier>
+ </scan>
+ </scans>
+ <aggregates>
+ <aggregate>
+ <classifier>oak_tar</classifier>
+ <filesInclude>**/*.json</filesInclude>
+ <title>Sling With Oak Segment NS Persistence</title>
+ </aggregate>
+ </aggregates>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<pluginManagement>