[MPLUGIN-189] changed descriptor goal default phase from generate-resources to process-classes for Java 5 annotations (which are actually taken from compiled code, not from source)

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337808 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2012-05-13 08:29:05 +00:00
parent b606a755c8
commit 369596166a
5 changed files with 3 additions and 6 deletions

View File

@ -107,7 +107,6 @@ under the License.
<executions>
<execution>
<id>mojo-descriptor</id>
<phase>process-classes</phase>
<goals>
<goal>descriptor</goal>
</goals>

View File

@ -47,7 +47,6 @@ under the License.
<executions>
<execution>
<id>mojo-descriptor</id>
<phase>process-classes</phase>
<goals>
<goal>descriptor</goal>
</goals>

View File

@ -101,7 +101,6 @@ under the License.
<executions>
<execution>
<id>mojo-descriptor</id>
<phase>process-classes</phase>
<goals>
<goal>descriptor</goal>
</goals>

View File

@ -78,7 +78,6 @@ under the License.
<executions>
<execution>
<id>mojo-descriptor</id>
<phase>process-classes</phase>
<goals>
<goal>descriptor</goal>
</goals>

View File

@ -28,13 +28,14 @@ import java.io.File;
/**
* Generate a plugin descriptor.
* <br/>
* <b>Note:</b> Phase is after the "compilation" of any scripts.
* <b>Note:</b> Since 3.0, <a href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">phase</a>
* is after the "compilation" of any scripts.
*
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id$
* @since 2.0
* @goal descriptor
* @phase generate-resources
* @phase process-classes
* @requiresDependencyResolution runtime
*/
public class DescriptorGeneratorMojo