Author: olamy
Date: Thu Jul 12 16:32:37 2012
New Revision: 1360785
URL: http://svn.apache.org/viewvc?rev=1360785&view=rev
Log:
move plugin version to a property and plugins annotations in compile scope
Modified:
maven/plugins/trunk/maven-linkcheck-plugin/pom.xml
Modified: maven/plugins/trunk/maven-linkcheck-plugin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-linkcheck-plugin/pom.xml?rev=1360785&r1=1360784&r2=1360785&view=diff
==============================================================================
--- maven/plugins/trunk/maven-linkcheck-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-linkcheck-plugin/pom.xml Thu Jul 12 16:32:37 2012
@@ -54,6 +54,7 @@ under the License.
<doxiaVersion>1.0</doxiaVersion>
<doxia-sitetoolsVersion>1.0</doxia-sitetoolsVersion>
<mavenVersion>2.0.9</mavenVersion>
+ <mavenPluginPluginVersion>3.1</mavenPluginPluginVersion>
</properties>
<dependencies>
@@ -86,7 +87,8 @@ under the License.
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
- <version>3.1</version>
+ <version>${mavenPluginPluginVersion}</version>
+ <scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.reporting</groupId>
@@ -170,8 +172,9 @@ under the License.
<pluginManagement>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.1</version>
+ <version>${mavenPluginPluginVersion}</version>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
@@ -180,6 +183,7 @@ under the License.
</pluginManagement>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<executions>
<execution>
@@ -193,6 +197,16 @@ under the License.
</plugins>
</build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>${mavenPluginPluginVersion}</version>
+ </plugin>
+ </plugins>
+ </reporting>
+
<profiles>
<profile>
<id>reporting</id>