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
|
||||
*/
|
||||
@Documented
|
||||
@Retention( RetentionPolicy.RUNTIME )
|
||||
@Retention( RetentionPolicy.CLASS )
|
||||
@Target( { ElementType.FIELD, ElementType.METHOD } )
|
||||
@Inherited
|
||||
public @interface Component
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import java.lang.annotation.Target;
|
|||
* @since 3.0
|
||||
*/
|
||||
@Documented
|
||||
@Retention( RetentionPolicy.RUNTIME )
|
||||
@Retention( RetentionPolicy.CLASS )
|
||||
@Target( ElementType.TYPE )
|
||||
@Inherited
|
||||
public @interface Execute
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import java.lang.annotation.Target;
|
|||
* @since 3.0
|
||||
*/
|
||||
@Documented
|
||||
@Retention( RetentionPolicy.RUNTIME )
|
||||
@Retention( RetentionPolicy.CLASS )
|
||||
@Target( ElementType.TYPE )
|
||||
@Inherited
|
||||
public @interface Mojo
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import java.lang.annotation.Target;
|
|||
* @since 3.0
|
||||
*/
|
||||
@Documented
|
||||
@Retention( RetentionPolicy.RUNTIME )
|
||||
@Retention( RetentionPolicy.CLASS )
|
||||
@Target( { ElementType.FIELD, ElementType.METHOD } )
|
||||
@Inherited
|
||||
public @interface Parameter
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ under the License.
|
|||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-annotations</artifactId>
|
||||
<version>@project.version@</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue