annotation need only class retentionPolicy
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338003 13f79535-47bb-0310-9956-ffa450edef68master
parent
44d4e6bec0
commit
34c68c011d
|
|
@ -31,7 +31,7 @@ import java.lang.annotation.Target;
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
@Documented
|
@Documented
|
||||||
@Retention( RetentionPolicy.RUNTIME )
|
@Retention( RetentionPolicy.CLASS )
|
||||||
@Target( { ElementType.FIELD, ElementType.METHOD } )
|
@Target( { ElementType.FIELD, ElementType.METHOD } )
|
||||||
@Inherited
|
@Inherited
|
||||||
public @interface Component
|
public @interface Component
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ import java.lang.annotation.Target;
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
@Documented
|
@Documented
|
||||||
@Retention( RetentionPolicy.RUNTIME )
|
@Retention( RetentionPolicy.CLASS )
|
||||||
@Target( ElementType.TYPE )
|
@Target( ElementType.TYPE )
|
||||||
@Inherited
|
@Inherited
|
||||||
public @interface Execute
|
public @interface Execute
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ import java.lang.annotation.Target;
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
@Documented
|
@Documented
|
||||||
@Retention( RetentionPolicy.RUNTIME )
|
@Retention( RetentionPolicy.CLASS )
|
||||||
@Target( ElementType.TYPE )
|
@Target( ElementType.TYPE )
|
||||||
@Inherited
|
@Inherited
|
||||||
public @interface Mojo
|
public @interface Mojo
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ import java.lang.annotation.Target;
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
@Documented
|
@Documented
|
||||||
@Retention( RetentionPolicy.RUNTIME )
|
@Retention( RetentionPolicy.CLASS )
|
||||||
@Target( { ElementType.FIELD, ElementType.METHOD } )
|
@Target( { ElementType.FIELD, ElementType.METHOD } )
|
||||||
@Inherited
|
@Inherited
|
||||||
public @interface Parameter
|
public @interface Parameter
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@ under the License.
|
||||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||||
<artifactId>maven-plugin-annotations</artifactId>
|
<artifactId>maven-plugin-annotations</artifactId>
|
||||||
<version>@project.version@</version>
|
<version>@project.version@</version>
|
||||||
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue