You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/06/23 22:06:00 UTC

[jira] [Updated] (MNG-5641) AbstractMavenLifecycleParticipant#afterSessionStart is never invoked

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

Michael Osipov updated MNG-5641:
--------------------------------
    Fix Version/s: waiting-for-feedback

> AbstractMavenLifecycleParticipant#afterSessionStart is never invoked
> --------------------------------------------------------------------
>
>                 Key: MNG-5641
>                 URL: https://issues.apache.org/jira/browse/MNG-5641
>             Project: Maven
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>            Reporter: Cservenak, Tamas
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>
> Seems this affects all released maven versions.
> The problem, is that {{org.apache.maven.DefaultMaven#getLifecycleParticipants}} is invoked with empty list, as there are no projects read up yet.
> https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/DefaultMaven.java#L233
> Moreover, there is a comment on class, suggesting to remove this method. So, maybe just remove it?
> https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java#L56



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)