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:31 UTC
[sling-initial-content-archetype] 26/27: archetypes: move to
archetype parent 4-SNAPSHOT and fix rat checks
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag sling-initial-content-archetype-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-initial-content-archetype.git
commit fa3b4d27256f673560f50bda59d5259163542822
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/tooling/maven/archetypes/initial-content@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 58b9c00..a788912 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,8 +22,8 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling-archetype-parent</artifactId>
- <version>3</version>
<relativePath/>
+ <version>4-SNAPSHOT</version>
</parent>
<artifactId>sling-initial-content-archetype</artifactId>
diff --git a/src/test/resources/projects/normal/archetype.properties b/src/test/resources/projects/normal/archetype.properties
index 8912113..a892dac 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>.