Use latest parent version and inherit plugin versions and configurations from it.
Add excludes for RAT.
git-svn-id: https://svn.apache.org/repos/asf/maven/resources/trunk@1661418 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/apache-source-release-assembly-descriptor/pom.xml b/apache-source-release-assembly-descriptor/pom.xml
index e20052c..bc064e9 100644
--- a/apache-source-release-assembly-descriptor/pom.xml
+++ b/apache-source-release-assembly-descriptor/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.apache.resources</groupId>
<artifactId>apache-resource-bundles</artifactId>
- <version>4</version>
+ <version>5-SNAPSHOT</version>
<relativePath>../apache-resource-bundles/pom.xml</relativePath>
</parent>
@@ -92,12 +92,6 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
-
<executions>
<execution>
<id>default-testCompile</id>
@@ -109,7 +103,6 @@
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
<configuration>
<skip>true</skip>
</configuration>
@@ -154,6 +147,22 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <!-- Exclude files that are generated by tools and IDEs -->
+ <excludes combine.children="append">
+ <exclude>src/test/resources/**/.classpath</exclude>
+ <exclude>src/test/resources/**/.project</exclude>
+ <exclude>src/test/resources/**/cobertura.ser</exclude>
+ <exclude>src/test/resources/**/*.ipr</exclude>
+ <exclude>src/test/resources/**/*.iml</exclude>
+ <exclude>src/test/resources/**/*.iws</exclude>
+ <exclude>src/test/resources/**/org.*.prefs</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>
@@ -165,14 +174,6 @@
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2</version>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- <version>2.0.1</version>
- </dependency>
- </dependencies>
<executions>
<execution>
<id>source-release-assembly</id>
@@ -213,7 +214,6 @@
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
- <version>1.4</version>
<executions>
<execution>
<id>install-descriptor</id>