Author: dennisl
Date: Sat Sep 14 19:57:03 2013
New Revision: 1523307

URL: http://svn.apache.org/r1523307
Log:
Add missing license headers where possible.
Configure explicit RAT exclusions for the files that cannot contain a license 
header.
This plugin now passes the checks done by RAT.

Modified:
    maven/plugins/trunk/maven-patch-plugin/pom.xml
    
maven/plugins/trunk/maven-patch-plugin/src/it/apply-single-patch/invoker.properties
    
maven/plugins/trunk/maven-patch-plugin/src/it/apply-two-patches-in-order/invoker.properties
    
maven/plugins/trunk/maven-patch-plugin/src/it/remove-empty-files/invoker.properties

Modified: maven/plugins/trunk/maven-patch-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-patch-plugin/pom.xml?rev=1523307&r1=1523306&r2=1523307&view=diff
==============================================================================
--- maven/plugins/trunk/maven-patch-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-patch-plugin/pom.xml Sat Sep 14 19:57:03 2013
@@ -102,6 +102,23 @@ under the License.
             <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <version>0.10</version>
+          <configuration>
+            <excludes>
+              <!--
+                This is a plugin-specific data file that must only contain the 
names of applied patches.
+              -->
+              
<exclude>src/it/skip-when-patch-tracking-file-present/src/main/patches/patches-applied.txt</exclude>
+              <!--
+                I cannot add headers to this file and commit it, I get an 
error associated with the spaces in the path.
+              -->
+              <exclude>src/it/path with spaces/invoker.properties</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>

Modified: 
maven/plugins/trunk/maven-patch-plugin/src/it/apply-single-patch/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-patch-plugin/src/it/apply-single-patch/invoker.properties?rev=1523307&r1=1523306&r2=1523307&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-patch-plugin/src/it/apply-single-patch/invoker.properties
 (original)
+++ 
maven/plugins/trunk/maven-patch-plugin/src/it/apply-single-patch/invoker.properties
 Sat Sep 14 19:57:03 2013
@@ -1,2 +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.
+
 # Windows doesn't has a patch-executable
 invoker.os.family = !windows

Modified: 
maven/plugins/trunk/maven-patch-plugin/src/it/apply-two-patches-in-order/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-patch-plugin/src/it/apply-two-patches-in-order/invoker.properties?rev=1523307&r1=1523306&r2=1523307&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-patch-plugin/src/it/apply-two-patches-in-order/invoker.properties
 (original)
+++ 
maven/plugins/trunk/maven-patch-plugin/src/it/apply-two-patches-in-order/invoker.properties
 Sat Sep 14 19:57:03 2013
@@ -1,2 +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.
+
 # Windows doesn't has a patch-executable
 invoker.os.family = !windows

Modified: 
maven/plugins/trunk/maven-patch-plugin/src/it/remove-empty-files/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-patch-plugin/src/it/remove-empty-files/invoker.properties?rev=1523307&r1=1523306&r2=1523307&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-patch-plugin/src/it/remove-empty-files/invoker.properties
 (original)
+++ 
maven/plugins/trunk/maven-patch-plugin/src/it/remove-empty-files/invoker.properties
 Sat Sep 14 19:57:03 2013
@@ -1,2 +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.
+
 # Windows doesn't has a patch-executable
 invoker.os.family = !windows


Reply via email to