diff --git a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Component.java b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Component.java index 1ea300692..7cea6f0cd 100644 --- a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Component.java +++ b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Component.java @@ -32,11 +32,13 @@ * * @author Olivier Lamy * @since 3.0 + * @deprecated Use JSR 330 annotations or {@link Parameter} with according default expressions instead. */ @Documented @Retention(RetentionPolicy.CLASS) @Target({ElementType.FIELD}) @Inherited +@Deprecated public @interface Component { /** * role of the component to inject.