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)

Reply via email to