You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2025/01/07 00:48:00 UTC

[jira] [Commented] (MPLUGIN-532) Fail the build in case JSR330 annotations are used in v4 plugins

    [ https://issues.apache.org/jira/browse/MPLUGIN-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910458#comment-17910458 ] 

Sylwester Lachiewicz commented on MPLUGIN-532:
----------------------------------------------

This sounds like a big limitation of API 4 - we have many plexus components that will require to migrate from day 0.

> Fail the build in case JSR330 annotations are used in v4 plugins
> ----------------------------------------------------------------
>
>                 Key: MPLUGIN-532
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-532
>             Project: Maven Plugin Tools
>          Issue Type: Improvement
>          Components: Plugin Plugin
>            Reporter: Konrad Windszus
>            Priority: Major
>
> JSR 330 annotations are no longer supported for Maven 4 plugins. Instead those only support the Maven 4 DI annotations from https://github.com/apache/maven/tree/master/api/maven-api-di/src/main/java/org/apache/maven/api/di.
> Using JSR 330 annotations in Maven 4 plugins should fail the build.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)