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

Maven 4 reverses custom lifecycle ordering

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.x-candidate
    • 4.0.0-beta-5
    • Core
    • None

    Description

      Following this tutorial: https://nextmetaphor.wordpress.com/2016/10/10/custom-maven-lifecycle/

       

      On Maven 3.x, if you run `mvn phase3` on the project, it correctly runs phase 1 and 2 first and outputs 

      [INFO] Doing Phase 1 stuff. 

       

      On the 4.x nightlies, running the same command no longer runs phase 1 or 2. It looks like the order of phases is reversed. This happened after https://github.com/apache/maven/pull/1448 was merged I think.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            oehme Stefan Oehme
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: