Author: dennisl Date: Wed Aug 6 09:59:19 2014 New Revision: 1616141 URL: http://svn.apache.org/r1616141 Log: Use the most recently released version of Rat in the "rat" profile. Add license headers and excludes so that Rat itself passes rat:check.
Modified: creadur/rat/trunk/apache-rat-core/pom.xml creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/AbstractRatMojoTest.java creadur/rat/trunk/apache-rat/pom.xml creadur/rat/trunk/pom.xml Modified: creadur/rat/trunk/apache-rat-core/pom.xml URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/pom.xml?rev=1616141&r1=1616140&r2=1616141&view=diff ============================================================================== --- creadur/rat/trunk/apache-rat-core/pom.xml (original) +++ creadur/rat/trunk/apache-rat-core/pom.xml Wed Aug 6 09:59:19 2014 @@ -59,6 +59,9 @@ <artifactId>apache-rat-plugin</artifactId> <configuration> <excludes> + <!-- These files have bad license headers because they are used to test bad license headers --> + <exclude>src/test/resources/appliedAL20/bad/*.*</exclude> + <exclude>src/test/resources/oasis/bad/*.*</exclude> <!-- These files does not have license headers because they are used to test license headers --> <exclude>src/test/resources/elements/Source.java</exclude> <exclude>src/test/resources/elements/ILoggerFactory.java</exclude> Modified: creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/AbstractRatMojoTest.java URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/AbstractRatMojoTest.java?rev=1616141&r1=1616140&r2=1616141&view=diff ============================================================================== --- creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/AbstractRatMojoTest.java (original) +++ creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/AbstractRatMojoTest.java Wed Aug 6 09:59:19 2014 @@ -1,5 +1,22 @@ package org.apache.rat.mp; +/* + * 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 static org.junit.Assert.*; import org.junit.Test; Modified: creadur/rat/trunk/apache-rat/pom.xml URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat/pom.xml?rev=1616141&r1=1616140&r2=1616141&view=diff ============================================================================== --- creadur/rat/trunk/apache-rat/pom.xml (original) +++ creadur/rat/trunk/apache-rat/pom.xml Wed Aug 6 09:59:19 2014 @@ -173,6 +173,14 @@ <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <!-- These files only describe how to use the project and they + have no license headers --> + <exclude>README-ANT.txt</exclude> + <exclude>README-CLI.txt</exclude> + </excludes> + </configuration> <executions> <execution> <goals> Modified: creadur/rat/trunk/pom.xml URL: http://svn.apache.org/viewvc/creadur/rat/trunk/pom.xml?rev=1616141&r1=1616140&r2=1616141&view=diff ============================================================================== --- creadur/rat/trunk/pom.xml (original) +++ creadur/rat/trunk/pom.xml Wed Aug 6 09:59:19 2014 @@ -273,7 +273,7 @@ agnostic home for software distribution <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <!-- Must use previous version, to avoid a cyclic reference --> - <version>0.8</version> + <version>0.10</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>