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 2017/11/07 09:14:36 UTC

[sling-jcrinstall-bundle-archetype] 16/18: SLING-3532 - Move sling plugin configuration out of the autoInstallBundle profile

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

rombert pushed a commit to annotated tag sling-jcrinstall-bundle-archetype-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-jcrinstall-bundle-archetype.git

commit eeac8754fc0de009e3806dfa9d1060e8bb47536b
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu May 15 08:40:09 2014 +0000

    SLING-3532 - Move sling plugin configuration out of the
    autoInstallBundle profile
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/tooling/maven/archetypes/bundle-for-jcrinstall@1594821 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/resources/archetype-resources/pom.xml | 28 +++++++++++++++-----------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml
index 51f431c..08d2e95 100644
--- a/src/main/resources/archetype-resources/pom.xml
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -55,6 +55,22 @@
                     <target>${archetype.java.version}</target>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.sling</groupId>
+                <artifactId>maven-sling-plugin</artifactId>
+                <version>${slingplugin.version}</version>
+                <configuration>
+                    <slingUrl>http://localhost:8080/libs/sling/install</slingUrl>
+                    <!--
+                    Alternatively:
+                    <slingUrl>http://localhost:8080</slingUrl>
+                    <slingUrlSuffix>/libs/sling/install</slingUrlSuffix>
+                    -->
+                    <usePut>true</usePut>
+                    <user>admin</user>
+                    <password>admin</password>
+                </configuration>
+            </plugin>            
         </plugins>
     </build>
     <dependencies>
@@ -115,24 +131,12 @@
                     <plugin>
                         <groupId>org.apache.sling</groupId>
                         <artifactId>maven-sling-plugin</artifactId>
-                        <version>${slingplugin.version}</version>
                         <executions>
                             <execution>
                                 <id>install-bundle</id>
                                 <goals>
                                     <goal>install</goal>
                                 </goals>
-                                <configuration>
-                                    <slingUrl>http://localhost:8080/libs/sling/install</slingUrl>
-                                    <!--
-                                    Alternatively:
-                                    <slingUrl>http://localhost:8080</slingUrl>
-                                    <slingUrlSuffix>/libs/sling/install</slingUrlSuffix>
-                                    -->
-                                    <usePut>true</usePut>
-                                    <user>admin</user>
-                                    <password>admin</password>
-                                </configuration>
                             </execution>
                         </executions>
                     </plugin>

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