You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:02 UTC

[jira] [Updated] (MNG-6898) Convert DefaultLifecyclePluginAnalyzer to JSR 330

     [ https://issues.apache.org/jira/browse/MNG-6898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated MNG-6898:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> Convert DefaultLifecyclePluginAnalyzer to JSR 330
> -------------------------------------------------
>
>                 Key: MNG-6898
>                 URL: https://issues.apache.org/jira/browse/MNG-6898
>             Project: Maven
>          Issue Type: Sub-task
>          Components: Core
>    Affects Versions: 3.6.3
>            Reporter: Joseph Walton
>            Assignee: Tamas Cservenak
>            Priority: Major
>             Fix For: 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> Convert {{DefaultLifecyclePluginAnalyzer}} in {{maven-core}} to JSR 330 annotations. This follows on from MNG-5577, which converted the other classes.
> The complication here is that, with the annotations changed, the {{lifecycleMappings}} {{Map}} is no longer getting filtered by sisu.plexus's {{RealmFilteredBeans}}. That means extensions added in one module will appear in all of them, which makes [{{MavenITmng4385LifecycleMappingFromExtensionInReactorTest}}|https://github.com/apache/maven-integration-testing/blob/6e480ac3a436bf4f3624f36935578966430c654c/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4385LifecycleMappingFromExtensionInReactorTest.java] fail.
> From what I can see, the only place a {{RealmFilteredBeans}} is used during injection is when the resource is located through {{DefaultPlexusBeanLocator}}. However, that's not the case after that field switches from {{@Requirement}} to {{@Inject}}.



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