Author: sebb Date: Tue Jun 25 02:05:12 2013 New Revision: 1496335 URL: http://svn.apache.org/r1496335 Log: Drop faulty generated Help Mojo
Modified: maven/sandbox/trunk/plugins/maven-digest-plugin/pom.xml maven/sandbox/trunk/plugins/maven-digest-plugin/src/main/java/org/apache/maven/plugins/digest/HelperMojo.java Modified: maven/sandbox/trunk/plugins/maven-digest-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-digest-plugin/pom.xml?rev=1496335&r1=1496334&r2=1496335&view=diff ============================================================================== --- maven/sandbox/trunk/plugins/maven-digest-plugin/pom.xml (original) +++ maven/sandbox/trunk/plugins/maven-digest-plugin/pom.xml Tue Jun 25 02:05:12 2013 @@ -162,6 +162,7 @@ The Maven Help plugin does show property names, so we create our own Help Mojo that extends it. Unfortunately, it seems we cannot override the parent here + So we just delete the generated file below <execution> <id>generated-helpmojo</id> <goals> @@ -171,6 +172,27 @@ --> </executions> </plugin> + <!-- remove the faulty generated Help Mojo --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <phase>process-sources</phase> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + <configuration> + <target> + <delete> + <fileset dir="target/generated-sources" includes="**/HelpMojo.java"/> + </delete> + </target> + </configuration> + </plugin> </plugins> </build> Modified: maven/sandbox/trunk/plugins/maven-digest-plugin/src/main/java/org/apache/maven/plugins/digest/HelperMojo.java URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-digest-plugin/src/main/java/org/apache/maven/plugins/digest/HelperMojo.java?rev=1496335&r1=1496334&r2=1496335&view=diff ============================================================================== --- maven/sandbox/trunk/plugins/maven-digest-plugin/src/main/java/org/apache/maven/plugins/digest/HelperMojo.java (original) +++ maven/sandbox/trunk/plugins/maven-digest-plugin/src/main/java/org/apache/maven/plugins/digest/HelperMojo.java Tue Jun 25 02:05:12 2013 @@ -30,7 +30,7 @@ import org.apache.maven.project.MavenPro * Helper Mojo that extends the standard Maven help plugin describe goal. This is needed because the generated help mojo * does not handle annotation property names at present. */ -@Mojo( name = "helper" ) +@Mojo( name = "help" ) public class HelperMojo extends DescribeMojo {