sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-maven-launchpad-plugin] 15/29: SLING-2203 : Allow for better configuration of sling home folder
Date Tue, 07 Nov 2017 09:16:27 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag maven-launchpad-plugin-2.1.2
in repository https://gitbox.apache.org/repos/asf/sling-maven-launchpad-plugin.git

commit 52f90beaae06103a9bef07b700800cb11fd80abf
Author: Carsten Ziegeler <cziegeler@apache.org>
AuthorDate: Thu Dec 1 15:11:02 2011 +0000

    SLING-2203 : Allow for better configuration of sling home folder
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/maven-launchpad-plugin@1209114
13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                                               | 4 ++--
 .../sling/maven/projectsupport/AbstractLaunchpadStartingMojo.java     | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7560e23..60f01af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -176,12 +176,12 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.launchpad.base</artifactId>
-            <version>2.3.0</version>
+            <version>2.3.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.launchpad.base</artifactId>
-            <version>2.3.0</version>
+            <version>2.3.1-SNAPSHOT</version>
             <classifier>app</classifier>
         </dependency>
         <dependency>
diff --git a/src/main/java/org/apache/sling/maven/projectsupport/AbstractLaunchpadStartingMojo.java
b/src/main/java/org/apache/sling/maven/projectsupport/AbstractLaunchpadStartingMojo.java
index f16fa2a..867535e 100644
--- a/src/main/java/org/apache/sling/maven/projectsupport/AbstractLaunchpadStartingMojo.java
+++ b/src/main/java/org/apache/sling/maven/projectsupport/AbstractLaunchpadStartingMojo.java
@@ -267,6 +267,9 @@ public abstract class AbstractLaunchpadStartingMojo extends AbstractUsingBundleL
 
             props.put(SharedConstants.SLING_HOME, slingHome);
 
+            // ensure launchpad is set
+            props.put(SharedConstants.SLING_LAUNCHPAD, slingHome);
+
             if (forceBundleLoad) {
                 props.put(SharedConstants.FORCE_PACKAGE_BUNDLE_LOADING, "true");
             }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message