You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/04/13 18:59:58 UTC
svn commit: r1587039 - /maven/plugins/trunk/maven-plugins/pom.xml
Author: hboutemy
Date: Sun Apr 13 16:59:58 2014
New Revision: 1587039
URL: http://svn.apache.org/r1587039
Log:
[MPOM-49] configurde standard plugin-tools goals in plugin parent pom
Modified:
maven/plugins/trunk/maven-plugins/pom.xml
Modified: maven/plugins/trunk/maven-plugins/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-plugins/pom.xml?rev=1587039&r1=1587038&r2=1587039&view=diff
==============================================================================
--- maven/plugins/trunk/maven-plugins/pom.xml (original)
+++ maven/plugins/trunk/maven-plugins/pom.xml Sun Apr 13 16:59:58 2014
@@ -55,6 +55,7 @@ under the License.
<properties>
<maven.site.path>plugins-archives/${project.artifactId}-LATEST</maven.site.path>
+ <mavenPluginToolsVersion>3.2</mavenPluginToolsVersion>
</properties>
<repositories>
@@ -68,6 +69,24 @@ under the License.
</repository>
</repositories>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-annotations</artifactId>
+ <version>${mavenPluginToolsVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <dependencies>
+ <!-- dependencies to annotations -->
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-annotations</artifactId>
+ </dependency>
+ </dependencies>
+
<build>
<pluginManagement>
<plugins>
@@ -112,11 +131,37 @@ under the License.
<releaseProfiles>apache-release,rat,run-its</releaseProfiles>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>${mavenPluginToolsVersion}</version>
+ <configuration>
+ <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
+ </configuration>
+ <executions>
+ <execution>
+ <id>mojo-descriptor</id>
+ <goals>
+ <goal>descriptor</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>generated-helpmojo</id>
+ <goals>
+ <goal>helpmojo</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
<content>${project.reporting.outputDirectory}</content><!-- plugins are mono-module, no real need for site:stage -->
@@ -144,18 +189,6 @@ under the License.
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-plugin-plugin</artifactId>
- <executions>
- <execution>
- <id>generated-helpmojo</id>
- <goals>
- <goal>helpmojo</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
@@ -164,7 +197,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.2</version>
+ <version>${mavenPluginToolsVersion}</version>
</plugin>
</plugins>
</reporting>
@@ -267,6 +300,6 @@ under the License.
</plugin>
</plugins>
</build>
- </profile>
+ </profile>
</profiles>
</project>