[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-ffa450edef68master
parent
b606a755c8
commit
369596166a
|
|
@ -107,7 +107,6 @@ under the License.
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>mojo-descriptor</id>
|
<id>mojo-descriptor</id>
|
||||||
<phase>process-classes</phase>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>descriptor</goal>
|
<goal>descriptor</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ under the License.
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>mojo-descriptor</id>
|
<id>mojo-descriptor</id>
|
||||||
<phase>process-classes</phase>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>descriptor</goal>
|
<goal>descriptor</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,6 @@ under the License.
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>mojo-descriptor</id>
|
<id>mojo-descriptor</id>
|
||||||
<phase>process-classes</phase>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>descriptor</goal>
|
<goal>descriptor</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,6 @@ under the License.
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>mojo-descriptor</id>
|
<id>mojo-descriptor</id>
|
||||||
<phase>process-classes</phase>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>descriptor</goal>
|
<goal>descriptor</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
|
||||||
|
|
@ -28,13 +28,14 @@ import java.io.File;
|
||||||
/**
|
/**
|
||||||
* Generate a plugin descriptor.
|
* Generate a plugin descriptor.
|
||||||
* <br/>
|
* <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>
|
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
* @goal descriptor
|
* @goal descriptor
|
||||||
* @phase generate-resources
|
* @phase process-classes
|
||||||
* @requiresDependencyResolution runtime
|
* @requiresDependencyResolution runtime
|
||||||
*/
|
*/
|
||||||
public class DescriptorGeneratorMojo
|
public class DescriptorGeneratorMojo
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue