[ https://issues.apache.org/jira/browse/MPLUGIN-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872707#comment-17872707 ]
ASF GitHub Bot commented on MPLUGIN-530: ---------------------------------------- gnodet commented on PR #1638: URL: https://github.com/apache/maven/pull/1638#issuecomment-2282811177 > @gnodet Have you deliberately removed that from the plugin descriptor 2.0.0? It is still written in https://github.com/apache/maven-plugin-tools/blob/9332b09acc08d2e063f12a8158a57ca8ec56fadd/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorFilesGenerator.java#L593 (even for V4/2.0.0) The injection mechanism is different for V4 mojo as it uses the new DI API / implementation. > Deprecate o.a.m.plugins.annotations.Component > --------------------------------------------- > > Key: MPLUGIN-530 > URL: https://issues.apache.org/jira/browse/MPLUGIN-530 > Project: Maven Plugin Tools > Issue Type: Improvement > Components: maven-plugin-annotations > Affects Versions: 3.13.1, 4.0.0-beta-1 > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > Labels: plugin-descriptor-1.1 > > The annotation > [{{org.apache.maven.plugin.plugins.annotations.Component}}|https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Component.html] > should be deprecated in favour of [JSR 330 > annotations|https://maven.apache.org/maven-jsr330.html#how-to-use-jsr-330-in-plugins]. > At the same time the related section of the plugin descriptor > https://maven.apache.org/ref/3-LATEST/maven-plugin-api/plugin.html#requirement > should be deprecated as well. > Compare with the discussion in > https://lists.apache.org/thread/xfy3wlfxskqw3kmmyj9zxpcj548ft7k8. -- This message was sent by Atlassian Jira (v8.20.10#820010)