Author: olamy
Date: Thu Jul 12 16:33:11 2012
New Revision: 1360789
URL: http://svn.apache.org/viewvc?rev=1360789&view=rev
Log:
move plugin version to a property and plugins annotations in compile scope
Modified:
maven/plugins/trunk/maven-pdf-plugin/pom.xml
Modified: maven/plugins/trunk/maven-pdf-plugin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/pom.xml?rev=1360789&r1=1360788&r2=1360789&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pdf-plugin/pom.xml Thu Jul 12 16:33:11 2012
@@ -62,6 +62,7 @@ under the License.
<properties>
<doxiaVersion>1.3</doxiaVersion>
<mavenVersion>2.0.9</mavenVersion>
+ <mavenPluginVersion>3.1</mavenPluginVersion>
</properties>
<dependencies>
@@ -109,7 +110,8 @@ under the License.
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
- <version>3.1</version>
+ <version>${mavenPluginVersion}</version>
+ <scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.reporting</groupId>
@@ -270,12 +272,14 @@ under the License.
<pluginManagement>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.4</version>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>2.3</version>
+ <version>3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -288,8 +292,9 @@ under the License.
<version>1.1</version>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.1</version>
+ <version>${mavenPluginVersion}</version>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
@@ -368,26 +373,27 @@ under the License.
<reporting>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version>
<reportSets>
- <reportSet>
- <reports>
- <report>cim</report>
- <report>issue-tracking</report>
- <report>license</report>
- <report>mailing-list</report>
- <report>project-team</report>
- <report>scm</report>
- <report>summary</report>
- </reports>
- </reportSet>
- </reportSets>
+ <reportSet>
+ <reports>
+ <report>cim</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>mailing-list</report>
+ <report>project-team</report>
+ <report>scm</report>
+ <report>summary</report>
+ </reports>
+ </reportSet>
+ </reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>2.7</version>
+ <version>3.1</version>
</plugin>
</plugins>
</reporting>