annotation need only class retentionPolicy

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338003 13f79535-47bb-0310-9956-ffa450edef68
master
Olivier Lamy 2012-05-13 23:04:57 +00:00
parent 44d4e6bec0
commit 34c68c011d
5 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>