maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Cservenák (JIRA) <j...@codehaus.org>
Subject [jira] (MNG-5641) AbstractMavenLifecycleParticipant#afterSessionStart is never invoked
Date Tue, 03 Jun 2014 08:16:10 GMT
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)

Mime
View raw message