more efficient maven-plugin-plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/sandbox/trunk@1639230 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dist-tools/dist-tool-plugin/pom.xml b/dist-tools/dist-tool-plugin/pom.xml
index 59badc8..a963f1d 100644
--- a/dist-tools/dist-tool-plugin/pom.xml
+++ b/dist-tools/dist-tool-plugin/pom.xml
@@ -168,22 +168,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <configuration>
- <!-- see http://jira.codehaus.org/browse/MNG-5346 -->
- <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
- </configuration>
<executions>
<execution>
- <id>mojo-descriptor</id>
- <goals>
- <goal>descriptor</goal>
- </goals>
+ <id>default-descriptor</id>
+ <phase>process-classes</phase>
</execution>
<execution>
- <id>help-goal</id>
+ <id>generated-helpmojo</id>
<goals>
<goal>helpmojo</goal>
</goals>
+ <configuration><!-- TODO: remove when upgrading plugin-tools to 3.4: see MPLUGIN-238 -->
+ <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
+ </configuration>
</execution>
</executions>
</plugin>