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/05/12 16:12:19 UTC

[sling-org-apache-sling-starter] branch feature/create-feature-aggregate created (now 3ed4fcf)

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

rombert pushed a change to branch feature/create-feature-aggregate
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git.


      at 3ed4fcf  WIP - on-the-fly creation of oak_tar feature aggregate

This branch includes the following new commits:

     new 3ed4fcf  WIP - on-the-fly creation of oak_tar feature aggregate

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: WIP - on-the-fly creation of oak_tar feature aggregate

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

rombert pushed a commit to branch feature/create-feature-aggregate
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git

commit 3ed4fcfe2f18f20f9548b64d09a9b92d65d356ae
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Mon May 11 23:09:46 2020 +0200

    WIP - on-the-fly creation of oak_tar feature aggregate
---
 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>