]> source.dussan.org Git - archiva.git/commitdiff
fix some issues reported by rat check
authorOlivier Lamy <olamy@apache.org>
Mon, 2 Jul 2012 20:24:41 +0000 (20:24 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 2 Jul 2012 20:24:41 +0000 (20:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356458 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/pom.xml
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/test-settings.xml
pom.xml

index 5616e8bfb2d3096273ba1d1237f46de441d7c5f5..ad89b962b4c30fdb946912ba2fa09eed0664dd76 100644 (file)
@@ -1,3 +1,23 @@
+<?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/maven-v4_0_0.xsd">
       <version>${wagonVersion}</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>xerces</groupId>
+      <artifactId>xercesImpl</artifactId>
+      <version>2.8.1</version>
+    </dependency>
   </dependencies>
   <build>
     <pluginManagement>
index 3fc27507c1fd26e7502b3fc620db50cfc7030e93..0e206accb4ce8e4e8e253ab2cf147e626de213e5 100644 (file)
@@ -1,5 +1,24 @@
 package $package;
 
+/*
+ * 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.
+ */
+
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
index 47890f0fde35634bbcd99542764fbd4de5555f18..6b0544b1a2865dd1a7e07af52a637195c58fb74b 100644 (file)
@@ -1,3 +1,22 @@
+#
+# 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.archiva.consumer.its.compile
 artifactId=simple-consumer-compile
 version=1.0-SNAPSHOT
index c8dc6ec072f3de40b32a57a6921272b86019c36f..eb87854f58ea07a4ea17c26daef54cbd6ebd5dfc 100644 (file)
@@ -47,6 +47,26 @@ under the License.
             <enabled>true</enabled>
           </snapshots>
         </repository>
+        <repository>
+          <id>apache.snapshots</id>
+          <url>@localRepositoryUrl@</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </repository>
+        <repository>
+          <id>archiva.snapshots</id>
+          <url>@localRepositoryUrl@</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </repository>
       </repositories>
       <pluginRepositories>
         <pluginRepository>
diff --git a/pom.xml b/pom.xml
index c247be1817203b53b02b863598c3df7d0f11a49f..bbe5ba73df7fb63ef50e24d14683dea344eb8da4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
               <exclude>README.txt</exclude>
               <exclude>*.sh</exclude>
               <exclude>.git/**</exclude>
+              <exclude>src/test/resources/projects/compile/goal.txt</exclude>
             </excludes>
           </configuration>
         </plugin>