You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamás Cservenák (JIRA)" <ji...@codehaus.org> on 2014/06/03 10:16:10 UTC

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

Tamás Cservenák created MNG-5641:
------------------------------------

             Summary: AbstractMavenLifecycleParticipant#afterSessionStart is never invoked
                 Key: MNG-5641
                 URL: https://jira.codehaus.org/browse/MNG-5641
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Plugins and Lifecycle
            Reporter: Tamás Cservenák


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
(v6.1.6#6162)