Author: bimargulies
Date: Sat Oct 27 21:00:24 2012
New Revision: 1402867
URL: http://svn.apache.org/viewvc?rev=1402867&view=rev
Log:
MPOM-38: Enable RAT to help us get maven releases to be license-header compliant
o Also configure the release plugin to turn on rat (quietly)
Modified:
maven/pom/trunk/maven/pom.xml
Modified: maven/pom/trunk/maven/pom.xml
URL:
http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1402867&r1=1402866&r2=1402867&view=diff
==============================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Sat Oct 27 21:00:24 2012
@@ -806,12 +806,43 @@ under the License.
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <useReleaseProfile>true</useReleaseProfile>
+ <releaseProfiles>apache-release,rat</releaseProfiles>
+ <goals>deploy</goals>
+ <arguments>${arguments}</arguments>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
+ <id>rat</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <!-- rat, not check, because we've got lots of noncomplaint
stuff -->
+ <goal>rat</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>quality-checks</id>
<activation>
<property>