Skip to content

Commit 6ba8235

Browse files
committed
[MPLUGIN-530] Deprecate o.a.m.plugins.annotations.Component
Recommend using JSR 330 annotations instead
1 parent f1acf76 commit 6ba8235

File tree

1 file changed

+2
-0
lines changed
  • maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations

1 file changed

+2
-0
lines changed

maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Component.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@
3232
*
3333
* @author Olivier Lamy
3434
* @since 3.0
35+
* @deprecated Use <a href="https://maven.apache.org/maven-jsr330.html#how-to-use-jsr-330-in-plugins">JSR 330 annotations</a> or {@link Parameter} with according default expressions instead.
3536
*/
3637
@Documented
3738
@Retention(RetentionPolicy.CLASS)
3839
@Target({ElementType.FIELD})
3940
@Inherited
41+
@Deprecated
4042
public @interface Component {
4143
/**
4244
* role of the component to inject.

0 commit comments

Comments
 (0)