maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject svn commit: r1623075 - in /maven/plugins/trunk/maven-stage-plugin: example.sh pom.xml src/test/java/org/apache/maven/plugins/stage/RepositoryCopierTest.java
Date Sun, 07 Sep 2014 17:15:17 GMT
Author: khmarbaise
Date: Sun Sep  7 17:15:16 2014
New Revision: 1623075

URL: http://svn.apache.org/r1623075
Log:
[MSTAGE-18]
 - Fixed RAT issues.

Modified:
    maven/plugins/trunk/maven-stage-plugin/example.sh
    maven/plugins/trunk/maven-stage-plugin/pom.xml
    maven/plugins/trunk/maven-stage-plugin/src/test/java/org/apache/maven/plugins/stage/RepositoryCopierTest.java

Modified: maven/plugins/trunk/maven-stage-plugin/example.sh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-stage-plugin/example.sh?rev=1623075&r1=1623074&r2=1623075&view=diff
==============================================================================
--- maven/plugins/trunk/maven-stage-plugin/example.sh (original)
+++ maven/plugins/trunk/maven-stage-plugin/example.sh Sun Sep  7 17:15:16 2014
@@ -1,3 +1,22 @@
 #!/bin/sh
 
+#
+# 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.
+#
+
 mvn stage:copy -Dsource="http://people.apache.org/~snicoll/maven-staging/repo" -Dtarget="scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository"
-Dversion=2.0.3

Modified: maven/plugins/trunk/maven-stage-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-stage-plugin/pom.xml?rev=1623075&r1=1623074&r2=1623075&view=diff
==============================================================================
--- maven/plugins/trunk/maven-stage-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-stage-plugin/pom.xml Sun Sep  7 17:15:16 2014
@@ -60,7 +60,7 @@ under the License.
 
   <properties>
     <wagonVersion>2.4</wagonVersion>
-    <mavenVersion>2.0.10</mavenVersion>
+    <mavenVersion>2.2.1</mavenVersion>
     <mavenPluginVersion>3.2</mavenPluginVersion>
   </properties>
 
@@ -113,11 +113,6 @@ under the License.
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
-      <artifactId>plexus-container-default</artifactId>
-      <version>1.0-alpha-9-stable-1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-utils</artifactId>
       <version>3.0.15</version>
     </dependency>
@@ -138,6 +133,25 @@ under the License.
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <version>0.11</version>
+          <configuration>
+            <excludes>
+              <exclude>src/test/staging-repository/**/*</exclude>
+              <exclude>src/test/target-repository/**/*</exclude>
+            </excludes>
+          </configuration>
+          <executions>
+            <execution>
+              <id>check-rat</id>
+              <goals>
+                <goal>check</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+        <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-plugin-plugin</artifactId>
           <version>${mavenPluginVersion}</version>
@@ -149,6 +163,10 @@ under the License.
     </pluginManagement>
     <plugins>
       <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-component-metadata</artifactId>
         <executions>

Modified: maven/plugins/trunk/maven-stage-plugin/src/test/java/org/apache/maven/plugins/stage/RepositoryCopierTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-stage-plugin/src/test/java/org/apache/maven/plugins/stage/RepositoryCopierTest.java?rev=1623075&r1=1623074&r2=1623075&view=diff
==============================================================================
--- maven/plugins/trunk/maven-stage-plugin/src/test/java/org/apache/maven/plugins/stage/RepositoryCopierTest.java
(original)
+++ maven/plugins/trunk/maven-stage-plugin/src/test/java/org/apache/maven/plugins/stage/RepositoryCopierTest.java
Sun Sep  7 17:15:16 2014
@@ -1,5 +1,24 @@
 package org.apache.maven.plugins.stage;
 
+/*
+ * 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 org.codehaus.plexus.PlexusTestCase;
 import org.codehaus.plexus.util.FileUtils;
 import org.codehaus.plexus.util.IOUtil;



Mime
View raw message