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

AbstractMavenLifecycleParticipant#afterSessionStart is never invoked

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugins and Lifecycle
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                cstamas Tamás Cservenák
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: