Author: sebb
Date: Fri Sep 2 14:27:39 2011
New Revision: 1164548
URL: http://svn.apache.org/viewvc?rev=1164548&view=rev
Log:
SOrt plugins
Modified:
commons/proper/commons-parent/trunk/pom.xml
Modified: commons/proper/commons-parent/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164548&r1=1164547&r2=1164548&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Fri Sep 2 14:27:39 2011
@@ -266,16 +266,40 @@
</plugins>
</pluginManagement>
<plugins>
+ <!-- org.apache.maven.plugins, alpha order by artifact id -->
<plugin>
- <artifactId>maven-compiler-plugin</artifactId>
+ <!--
+ - Copy LICENSE.txt and NOTICE.txt so that they are included
+ - in the -javadoc jar file for the component.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>javadoc.resources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <copy todir="${project.build.directory}/apidocs/META-INF">
+ <fileset dir="${basedir}">
+ <include name="LICENSE.txt" />
+ <include name="NOTICE.txt" />
+ </fileset>
+ </copy>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <jvm>${commons.surefire.java}</jvm>
- </configuration>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
@@ -295,6 +319,29 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-idea-plugin</artifactId>
+ <!--
+ | N.B. The version is deliberately not provided - see COMMONSSITE-56
+ | This may result in some warnings, e.g. from the Maven 2
Eclipse plugin.
+ -->
+ <configuration>
+ <jdkLevel>${maven.compile.source}</jdkLevel>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <jvm>${commons.surefire.java}</jvm>
+ </configuration>
+ </plugin>
+ <!-- Other plugins, alpha order by groupId and artifactId -->
+ <plugin>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-build-plugin</artifactId>
+ </plugin>
+ <plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
@@ -323,47 +370,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-idea-plugin</artifactId>
- <!--
- | N.B. The version is deliberately not provided - see COMMONSSITE-56
- | This may result in some warnings, e.g. from the Maven 2
Eclipse plugin.
- -->
- <configuration>
- <jdkLevel>${maven.compile.source}</jdkLevel>
- </configuration>
- </plugin>
- <plugin>
- <!--
- - Copy LICENSE.txt and NOTICE.txt so that they are included
- - in the -javadoc jar file for the component.
- -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>javadoc.resources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <copy todir="${project.build.directory}/apidocs/META-INF">
- <fileset dir="${basedir}">
- <include name="LICENSE.txt" />
- <include name="NOTICE.txt" />
- </fileset>
- </copy>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-build-plugin</artifactId>
- </plugin>
<!-- Needed for command-line access, e.g mvn apache-rat:rat and mvn
apache-rat:check -->
<plugin>
<groupId>org.apache.rat</groupId>