Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5641

AbstractMavenLifecycleParticipant#afterSessionStart is never invoked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • Plugins and Lifecycle
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: