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/10/18 23:29:42 UTC

[sling-launchpad-standalone-archetype] branch master created (now 355eb91)

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

rombert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git.


      at 355eb91  SLING-7167 Adjust READMEs

This branch includes the following new commits:

     new 905a425  SLING-2978 - Create tooling top-level directory and move maven and ide under it
     new 8ebc4ea  Update to parent pom 18
     new c07e1c3  Update to parent pom v19
     new b6015e3  SLING-3541 - Standalone Launchpad Archetype fails to start due to random selection of jarWebSupport
     new 462e983  SLING-3520 - Consolidate archetype plugin versions in a parent pom
     new 893c646  SLING-4633 - Launchpad archetypes do not run on Java 7 or newer
     new 5641927  SLING-4698 - Set parent.relativePath to empty for all modules
     new aec595b  SLING-5156 - Create a Maven archetype building a slingstart application
     new c67d16d  Maven archetypes: use parent version 3
     new df875f7  archetypes: move to archetype parent 4-SNAPSHOT and fix rat checks
     new 45a6ca4  sling-launchpad-standalone-archetype: use sling-archetype-parent 5-SNAPSHOT
     new c498f04  Archetypes: roll back to released version of archetype parent
     new 94f40f1  SLING-7167 Adjust READMEs
     new f1f3abe  SLING-7167 Adjust READMEs
     new 355eb91  SLING-7167 Adjust READMEs

The 15 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.


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

[sling-launchpad-standalone-archetype] 07/15: SLING-4698 - Set parent.relativePath to empty for all modules

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit 56419274a84d6de3814ae993c37c298db7a55a76
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu May 7 10:14:40 2015 +0000

    SLING-4698 - Set parent.relativePath to empty for all modules
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1678154 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index aa41761..2d5cc5f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
         <groupId>org.apache.sling</groupId>
         <artifactId>sling-archetype-parent</artifactId>
         <version>1</version>
-        <relativePath>../parent/pom.xml</relativePath>
+        <relativePath/>
     </parent>
     <artifactId>sling-launchpad-standalone-archetype</artifactId>
     <version>1.0.1-SNAPSHOT</version>

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

[sling-launchpad-standalone-archetype] 02/15: Update to parent pom 18

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit 8ebc4eac5ba81cd8e2126d2edba4c4fb98dea157
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Sep 6 12:15:57 2013 +0000

    Update to parent pom 18
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1520554 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 021b407..b0016e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,7 +16,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling</artifactId>
-        <version>17</version>
+        <version>18</version>
         <relativePath>../../../parent/pom.xml</relativePath>
     </parent>
     <artifactId>sling-launchpad-standalone-archetype</artifactId>

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

[sling-launchpad-standalone-archetype] 01/15: SLING-2978 - Create tooling top-level directory and move maven and ide under it

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit 905a42525a92f09563b644397bca56baf98522a4
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed Jul 24 18:13:22 2013 +0000

    SLING-2978 - Create tooling top-level directory and move maven and ide
    under it
    
    * moved the maven directory under tooling maven
    * adjusted module paths in pom.xml
    * updated the scm information in the pom.xml files
    * updated the scm information in the README.txt files
    
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1506645 13f79535-47bb-0310-9956-ffa450edef68
---
 README.txt                                         | 27 +++++++++
 pom.xml                                            | 50 ++++++++++++++++
 .../META-INF/maven/archetype-metadata.xml          | 30 ++++++++++
 src/main/resources/META-INF/maven/archetype.xml    | 22 ++++++++
 src/main/resources/archetype-resources/pom.xml     | 66 ++++++++++++++++++++++
 .../archetype-resources/src/main/bundles/list.xml  | 22 ++++++++
 .../src/test/config/sling.properties               | 13 +++++
 7 files changed, 230 insertions(+)

diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..5d9f3bc
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,27 @@
+Sling Servlet Archetype
+
+Maven archetype for Sling Launchpad Standalone applications.
+
+Getting Started
+===============
+
+This component uses a Maven 2 (http://maven.apache.org/) build
+environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/)
+2.0.7 or later. We recommend to use the latest Maven version.
+
+If you have Maven 2 installed, you can install the jar into your local Maven repository
+using the following command:
+
+    mvn install
+
+See the Maven 2 documentation for other build features.
+
+The latest source code for this component is available in the
+Subversion (http://subversion.tigris.org/) source repository of
+the Apache Software Foundation. If you have Subversion installed,
+you can checkout the latest source using the following command:
+
+    svn checkout http://svn.apache.org/repos/asf/sling/trunk/tooling/maven/archetypes/launchpad-standalone
+
+See the Subversion documentation for other source control features.
+
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..021b407
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+    agreements. See the NOTICE file distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file to you under the Apache License,
+    Version 2.0 (the "License"); you may not use this file except in compliance with the
+    License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+    either express or implied. See the License for the specific language governing permissions
+    and limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>17</version>
+        <relativePath>../../../parent/pom.xml</relativePath>
+    </parent>
+    <artifactId>sling-launchpad-standalone-archetype</artifactId>
+    <version>1.0.1-SNAPSHOT</version>
+    <packaging>maven-archetype</packaging>
+    <name>Sling Launchpad Standalone Archetype</name>
+    <description>Maven archetype for Sling Launchpad Standalone applications</description>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/tooling/maven/archetypes/launchpad-standalone</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/tooling/maven/archetypes/launchpad-standalone</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/trunk/tooling/maven/archetypes/launchpad-standalone</url>
+    </scm>
+
+    <build>
+        <extensions>
+            <extension>
+                <groupId>org.apache.maven.archetype</groupId>
+                <artifactId>archetype-packaging</artifactId>
+                <version>2.0-alpha-4</version>
+            </extension>
+        </extensions>
+        <plugins>
+            <plugin>
+                <artifactId>maven-archetype-plugin</artifactId>
+                <version>2.0-alpha-4</version>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/src/main/resources/META-INF/maven/archetype-metadata.xml b/src/main/resources/META-INF/maven/archetype-metadata.xml
new file mode 100644
index 0000000..121e332
--- /dev/null
+++ b/src/main/resources/META-INF/maven/archetype-metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+    agreements. See the NOTICE file distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file to you under the Apache License,
+    Version 2.0 (the "License"); you may not use this file except in compliance with the
+    License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+    either express or implied. See the License for the specific language governing permissions
+    and limitations under the License.
+-->
+<archetype-descriptor name="sling-launchpad-standalone">
+  <fileSets>
+    <fileSet filtered="true" encoding="UTF-8">
+      <directory>src/main/bundles</directory>
+      <includes>
+        <include>**/*.xml</include>
+      </includes>
+    </fileSet>
+    <fileSet filtered="true" encoding="UTF-8">
+      <directory>src/test/config</directory>
+      <includes>
+        <include>**/*.xml</include>
+        <include>**/*.properties</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</archetype-descriptor>
\ No newline at end of file
diff --git a/src/main/resources/META-INF/maven/archetype.xml b/src/main/resources/META-INF/maven/archetype.xml
new file mode 100644
index 0000000..597bea1
--- /dev/null
+++ b/src/main/resources/META-INF/maven/archetype.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+    agreements. See the NOTICE file distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file to you under the Apache License,
+    Version 2.0 (the "License"); you may not use this file except in compliance with the
+    License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+    either express or implied. See the License for the specific language governing permissions
+    and limitations under the License.
+-->
+<archetype>
+  <id>sling-launchpad-standalone</id>
+  <resources>
+    <resource>src/main/bundles/list.xml</resource>
+  </resources>
+  <testResources>
+    <resource>src/test/config/sling.properties</resource>
+  </testResources>
+</archetype>
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml
new file mode 100644
index 0000000..225c597
--- /dev/null
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -0,0 +1,66 @@
+#set( $symbol_dollar = '$' )
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+    agreements. See the NOTICE file distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file to you under the Apache License,
+    Version 2.0 (the "License"); you may not use this file except in compliance with the
+    License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+    either express or implied. See the License for the specific language governing permissions
+    and limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>${groupId}</groupId>
+    <artifactId>${artifactId}</artifactId>
+    <version>${version}</version>
+    <packaging>jar</packaging>
+    <name>${artifactId} Launchpad Standalone</name>
+    <description>${artifactId} Launchpad Standalone</description>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.sling</groupId>
+                <artifactId>maven-launchpad-plugin</artifactId>
+                <version>2.0.10</version>
+                <executions>
+                    <execution>
+                        <id>prepare-package-jar</id>
+                        <goals>
+                            <goal>prepare-package</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <defaultBundleList>
+                        <version>6</version>
+                    </defaultBundleList>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifestFile>${symbol_dollar}{project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+                        <manifest>
+                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.sling</groupId>
+            <artifactId>org.apache.sling.launchpad.base</artifactId>
+            <version>2.4.0</version>
+            <classifier>app</classifier>
+            <scope>runtime</scope>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/src/main/resources/archetype-resources/src/main/bundles/list.xml b/src/main/resources/archetype-resources/src/main/bundles/list.xml
new file mode 100644
index 0000000..e22144a
--- /dev/null
+++ b/src/main/resources/archetype-resources/src/main/bundles/list.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+    agreements. See the NOTICE file distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file to you under the Apache License,
+    Version 2.0 (the "License"); you may not use this file except in compliance with the
+    License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+    either express or implied. See the License for the specific language governing permissions
+    and limitations under the License.
+-->
+<bundles>
+    <startLevel level="0">
+        <bundle>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.fileinstall</artifactId>
+            <version>2.0.8</version>
+        </bundle>
+    </startLevel>
+</bundles>
diff --git a/src/main/resources/archetype-resources/src/test/config/sling.properties b/src/main/resources/archetype-resources/src/test/config/sling.properties
new file mode 100644
index 0000000..23db9a2
--- /dev/null
+++ b/src/main/resources/archetype-resources/src/test/config/sling.properties
@@ -0,0 +1,13 @@
+#    Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+#    agreements. See the NOTICE file distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file to you under the Apache License,
+#    Version 2.0 (the "License"); you may not use this file except in compliance with the
+#    License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software distributed under the
+#    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+#    either express or implied. See the License for the specific language governing permissions
+#    and limitations under the License.
+#set( $symbol_dollar = '$' )
+felix.fileinstall.dir=${symbol_dollar}{basedir}/src/test/config/fileinstall
+org.osgi.framework.startlevel.beginning=35

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

[sling-launchpad-standalone-archetype] 09/15: Maven archetypes: use parent version 3

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit c67d16d092cada716ab2b8b7bd37cf032a451737
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Oct 16 15:11:21 2015 +0000

    Maven archetypes: use parent version 3
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709035 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 2d5cc5f..d282f74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,7 +16,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling-archetype-parent</artifactId>
-        <version>1</version>
+        <version>3</version>
         <relativePath/>
     </parent>
     <artifactId>sling-launchpad-standalone-archetype</artifactId>

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

[sling-launchpad-standalone-archetype] 13/15: SLING-7167 Adjust READMEs

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit 94f40f19d1d3ccfeb986e435d9c19dd2378b3435
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Mon Oct 2 15:03:43 2017 +0000

    SLING-7167 Adjust READMEs
    
    remove outdated information
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810438 13f79535-47bb-0310-9956-ffa450edef68
---
 README.txt | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/README.txt b/README.txt
index 5d9f3bc..98dcc0e 100644
--- a/README.txt
+++ b/README.txt
@@ -1,27 +1,3 @@
 Sling Servlet Archetype
 
 Maven archetype for Sling Launchpad Standalone applications.
-
-Getting Started
-===============
-
-This component uses a Maven 2 (http://maven.apache.org/) build
-environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/)
-2.0.7 or later. We recommend to use the latest Maven version.
-
-If you have Maven 2 installed, you can install the jar into your local Maven repository
-using the following command:
-
-    mvn install
-
-See the Maven 2 documentation for other build features.
-
-The latest source code for this component is available in the
-Subversion (http://subversion.tigris.org/) source repository of
-the Apache Software Foundation. If you have Subversion installed,
-you can checkout the latest source using the following command:
-
-    svn checkout http://svn.apache.org/repos/asf/sling/trunk/tooling/maven/archetypes/launchpad-standalone
-
-See the Subversion documentation for other source control features.
-

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

[sling-launchpad-standalone-archetype] 03/15: Update to parent pom v19

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit c07e1c379037d0005fb624dd64c5c4a6cd370862
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Mar 31 14:39:20 2014 +0000

    Update to parent pom v19
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1583337 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index b0016e2..122ae05 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,7 +16,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling</artifactId>
-        <version>18</version>
+        <version>19</version>
         <relativePath>../../../parent/pom.xml</relativePath>
     </parent>
     <artifactId>sling-launchpad-standalone-archetype</artifactId>

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

[sling-launchpad-standalone-archetype] 11/15: sling-launchpad-standalone-archetype: use sling-archetype-parent 5-SNAPSHOT

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit 45a6ca42663df77e811a00f15c92bf6e2bccae70
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Oct 16 20:03:27 2015 +0000

    sling-launchpad-standalone-archetype: use sling-archetype-parent 5-SNAPSHOT
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709095 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index c99f7a6..a5238ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
         <groupId>org.apache.sling</groupId>
         <artifactId>sling-archetype-parent</artifactId>
         <relativePath/>
-        <version>4-SNAPSHOT</version>
+        <version>5-SNAPSHOT</version>
     </parent>
     <artifactId>sling-launchpad-standalone-archetype</artifactId>
     <version>1.0.1-SNAPSHOT</version>

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

[sling-launchpad-standalone-archetype] 12/15: Archetypes: roll back to released version of archetype parent

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit c498f04a3daee10c62854a7b24f7fd86b0f02caa
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Oct 16 22:07:11 2015 +0000

    Archetypes: roll back to released version of archetype parent
    
    Our current policy of setting the parent's relativePath to empty
    prevents picking up the parent from the reactor build, so we must
    use a released version.
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709119 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index a5238ed..034f5af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
         <groupId>org.apache.sling</groupId>
         <artifactId>sling-archetype-parent</artifactId>
         <relativePath/>
-        <version>5-SNAPSHOT</version>
+        <version>1</version>
     </parent>
     <artifactId>sling-launchpad-standalone-archetype</artifactId>
     <version>1.0.1-SNAPSHOT</version>

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

[sling-launchpad-standalone-archetype] 06/15: SLING-4633 - Launchpad archetypes do not run on Java 7 or newer

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit 893c6464cda473b7e06fecff39b199b514cb83d9
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Mon Apr 20 22:32:30 2015 +0000

    SLING-4633 - Launchpad archetypes do not run on Java 7 or newer
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1674996 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/resources/archetype-resources/pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml
index 3a65738..d4b6b6b 100644
--- a/src/main/resources/archetype-resources/pom.xml
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -36,12 +36,12 @@
                 </executions>
                 <configuration>
                     <defaultBundleList>
-                        <version>6</version>
+                        <version>7</version>
                     </defaultBundleList>
                     <jarWebSupport>
                         <groupId>org.apache.felix</groupId>
                         <artifactId>org.apache.felix.http.jetty</artifactId>
-                        <version>2.2.0</version>
+                        <version>2.2.2</version>
                     </jarWebSupport>
                 </configuration>
             </plugin>
@@ -64,7 +64,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.launchpad.base</artifactId>
-            <version>2.4.0</version>
+            <version>4.6.1-2.5.8</version>
             <classifier>app</classifier>
             <scope>runtime</scope>
         </dependency>

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

[sling-launchpad-standalone-archetype] 08/15: SLING-5156 - Create a Maven archetype building a slingstart application

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit aec595b3a4137d1d62b3f512a39079b857d54014
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Oct 15 19:39:16 2015 +0000

    SLING-5156 - Create a Maven archetype building a slingstart application
    
    Initial version of the slingstart-maven-archetype
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1708876 13f79535-47bb-0310-9956-ffa450edef68
---
 .../src/main/provisioning/model.txt                | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/src/main/resources/archetype-resources/src/main/provisioning/model.txt b/src/main/resources/archetype-resources/src/main/provisioning/model.txt
new file mode 100644
index 0000000..7594324
--- /dev/null
+++ b/src/main/resources/archetype-resources/src/main/provisioning/model.txt
@@ -0,0 +1,23 @@
+#
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#
+[feature name=model]
+[artifacts]
+  org.apache.sling/org.apache.sling.launchpad/8-SNAPSHOT/slingstart
+  org.apache.felix/org.apache.felix.shell/1.4.3
+  org.apache.felix/org.apache.felix.shell.remote/1.1.2
\ No newline at end of file

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

[sling-launchpad-standalone-archetype] 10/15: archetypes: move to archetype parent 4-SNAPSHOT and fix rat checks

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit df875f7d57f603ac8b228adf449cdbe5074b3346
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Oct 16 19:38:55 2015 +0000

    archetypes: move to archetype parent 4-SNAPSHOT and fix rat checks
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709070 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                                |  2 +-
 .../resources/projects/normal/archetype.properties     | 18 ++++++++++++++++++
 src/test/resources/projects/normal/verify.groovy       | 16 ++++++++++++++++
 3 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index d282f74..c99f7a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,8 +16,8 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling-archetype-parent</artifactId>
-        <version>3</version>
         <relativePath/>
+        <version>4-SNAPSHOT</version>
     </parent>
     <artifactId>sling-launchpad-standalone-archetype</artifactId>
     <version>1.0.1-SNAPSHOT</version>
diff --git a/src/test/resources/projects/normal/archetype.properties b/src/test/resources/projects/normal/archetype.properties
index 3e6af0c..cd7232b 100644
--- a/src/test/resources/projects/normal/archetype.properties
+++ b/src/test/resources/projects/normal/archetype.properties
@@ -1,3 +1,21 @@
+#####################################################################
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#####################################################################
 groupId=org.apache.sling
 artifactId=test-bundle-archetype-project
 version=0.0.1-SNAPSHOT
diff --git a/src/test/resources/projects/normal/verify.groovy b/src/test/resources/projects/normal/verify.groovy
index 8e4bc97..dda5e44 100644
--- a/src/test/resources/projects/normal/verify.groovy
+++ b/src/test/resources/projects/normal/verify.groovy
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 new File(basedir, '.').eachFileRecurse(groovy.io.FileType.FILES) { logFile ->
 	if ( logFile.name == "build.log" ) {
 		logFile.eachLine { line ->

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

[sling-launchpad-standalone-archetype] 05/15: SLING-3520 - Consolidate archetype plugin versions in a parent pom

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit 462e9831aa760c9b4c4699048cac8d47e45f7cf4
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu May 15 08:36:08 2014 +0000

    SLING-3520 - Consolidate archetype plugin versions in a parent pom
    
    Update all archetypes to use the archetype parent. Projects missing
    verification now run a simple verify script which validates that the
    build was successful and no warnings were generated.
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1594818 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                                 | 15 ++++-----------
 src/main/resources/archetype-resources/pom.xml          | 16 ++++++++++------
 src/test/resources/projects/normal/archetype.properties |  4 ++++
 src/test/resources/projects/normal/goal.txt             |  1 +
 src/test/resources/projects/normal/verify.groovy        |  9 +++++++++
 5 files changed, 28 insertions(+), 17 deletions(-)

diff --git a/pom.xml b/pom.xml
index 122ae05..aa41761 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,9 +15,9 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.sling</groupId>
-        <artifactId>sling</artifactId>
-        <version>19</version>
-        <relativePath>../../../parent/pom.xml</relativePath>
+        <artifactId>sling-archetype-parent</artifactId>
+        <version>1</version>
+        <relativePath>../parent/pom.xml</relativePath>
     </parent>
     <artifactId>sling-launchpad-standalone-archetype</artifactId>
     <version>1.0.1-SNAPSHOT</version>
@@ -36,15 +36,8 @@
             <extension>
                 <groupId>org.apache.maven.archetype</groupId>
                 <artifactId>archetype-packaging</artifactId>
-                <version>2.0-alpha-4</version>
+                <version>${archetype.version}</version>
             </extension>
         </extensions>
-        <plugins>
-            <plugin>
-                <artifactId>maven-archetype-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <extensions>true</extensions>
-            </plugin>
-        </plugins>
     </build>
 </project>
diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml
index a4e8cd4..3a65738 100644
--- a/src/main/resources/archetype-resources/pom.xml
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -14,18 +14,18 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
-    <groupId>${groupId}</groupId>
-    <artifactId>${artifactId}</artifactId>
-    <version>${version}</version>
+    <groupId>\${groupId}</groupId>
+    <artifactId>\${artifactId}</artifactId>
+    <version>\${version}</version>
     <packaging>jar</packaging>
-    <name>${artifactId} Launchpad Standalone</name>
-    <description>${artifactId} Launchpad Standalone</description>
+    <name>\${artifactId} Launchpad Standalone</name>
+    <description>\${artifactId} Launchpad Standalone</description>
     <build>
         <plugins>
             <plugin>
                 <groupId>org.apache.sling</groupId>
                 <artifactId>maven-launchpad-plugin</artifactId>
-                <version>2.0.10</version>
+                <version>${launchpadplugin.version}</version>
                 <executions>
                     <execution>
                         <id>prepare-package-jar</id>
@@ -48,6 +48,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
+                <version>${jarplugin.version}</version>
                 <configuration>
                     <archive>
                         <manifestFile>${symbol_dollar}{project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
@@ -68,4 +69,7 @@
             <scope>runtime</scope>
         </dependency>
     </dependencies>
+    <properties>
+        <project.build.sourceEncoding>${project.build.sourceEncoding}</project.build.sourceEncoding>
+    </properties>    
 </project>
diff --git a/src/test/resources/projects/normal/archetype.properties b/src/test/resources/projects/normal/archetype.properties
new file mode 100644
index 0000000..3e6af0c
--- /dev/null
+++ b/src/test/resources/projects/normal/archetype.properties
@@ -0,0 +1,4 @@
+groupId=org.apache.sling
+artifactId=test-bundle-archetype-project
+version=0.0.1-SNAPSHOT
+package=org.apache.sling.archetype.launchpadstandalone.testing
\ No newline at end of file
diff --git a/src/test/resources/projects/normal/goal.txt b/src/test/resources/projects/normal/goal.txt
new file mode 100644
index 0000000..4a1a71d
--- /dev/null
+++ b/src/test/resources/projects/normal/goal.txt
@@ -0,0 +1 @@
+verify
\ No newline at end of file
diff --git a/src/test/resources/projects/normal/verify.groovy b/src/test/resources/projects/normal/verify.groovy
new file mode 100644
index 0000000..8e4bc97
--- /dev/null
+++ b/src/test/resources/projects/normal/verify.groovy
@@ -0,0 +1,9 @@
+new File(basedir, '.').eachFileRecurse(groovy.io.FileType.FILES) { logFile ->
+	if ( logFile.name == "build.log" ) {
+		logFile.eachLine { line ->
+			if ( line.contains("WARNING") ) {
+				throw new RuntimeException("Warning found in line ${line}\nIn file ${logFile}");
+			}
+		}
+	}
+}
\ No newline at end of file

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

[sling-launchpad-standalone-archetype] 15/15: SLING-7167 Adjust READMEs

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit 355eb91e3307869cb26732b56bdb008d17f859a6
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Oct 3 10:12:58 2017 +0000

    SLING-7167 Adjust READMEs
    
    add uniform header linking to Sling project
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810963 13f79535-47bb-0310-9956-ffa450edef68
---
 README.md | 4 +++-
 pom.xml   | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 98dcc0e..8d07b24 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
-Sling Servlet Archetype
+# Apache Sling Launchpad Standalone Archetype
+
+This module is part of the [Apache Sling](https://sling.apache.org) project.
 
 Maven archetype for Sling Launchpad Standalone applications.
diff --git a/pom.xml b/pom.xml
index 034f5af..1d1e038 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
     <artifactId>sling-launchpad-standalone-archetype</artifactId>
     <version>1.0.1-SNAPSHOT</version>
     <packaging>maven-archetype</packaging>
-    <name>Sling Launchpad Standalone Archetype</name>
+    <name>Apache Sling Launchpad Standalone Archetype</name>
     <description>Maven archetype for Sling Launchpad Standalone applications</description>
 
     <scm>

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

[sling-launchpad-standalone-archetype] 04/15: SLING-3541 - Standalone Launchpad Archetype fails to start due to random selection of jarWebSupport

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit b6015e31443db3abfbb2fc4a960c095f7bd3007e
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri May 2 13:45:10 2014 +0000

    SLING-3541 - Standalone Launchpad Archetype fails to start due to random
    selection of jarWebSupport
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1591905 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/resources/archetype-resources/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml
index 225c597..a4e8cd4 100644
--- a/src/main/resources/archetype-resources/pom.xml
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -38,6 +38,11 @@
                     <defaultBundleList>
                         <version>6</version>
                     </defaultBundleList>
+                    <jarWebSupport>
+                        <groupId>org.apache.felix</groupId>
+                        <artifactId>org.apache.felix.http.jetty</artifactId>
+                        <version>2.2.0</version>
+                    </jarWebSupport>
                 </configuration>
             </plugin>
             <plugin>

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

[sling-launchpad-standalone-archetype] 14/15: SLING-7167 Adjust READMEs

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-launchpad-standalone-archetype.git

commit f1f3abe6a975e629582db431eeeb48272d5f1e53
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Mon Oct 2 16:24:28 2017 +0000

    SLING-7167 Adjust READMEs
    
    switch from plain text to Markdown
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810545 13f79535-47bb-0310-9956-ffa450edef68
---
 README.txt => README.md | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/README.txt b/README.md
similarity index 100%
rename from README.txt
rename to README.md

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