[MPLUGIN-530] Deprecate o.a.m.plugins.annotations.Component · apache/maven-plugin-tools@6ba8235 (original) (raw)

File tree

Original file line number Diff line number Diff line change
@@ -32,11 +32,13 @@
32 32 *
33 33 * @author Olivier Lamy
34 34 * @since 3.0
35 + * @deprecated Use JSR 330 annotations or {@link Parameter} with according default expressions instead.
35 36 */
36 37 @Documented
37 38 @Retention(RetentionPolicy.CLASS)
38 39 @Target({ElementType.FIELD})
39 40 @Inherited
41 +@Deprecated
40 42 public @interface Component {
41 43 /**
42 44 * role of the component to inject.