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

Add flexible goal ordering in phase

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0, 3.9.2, 4.0.0-alpha-5
    • 4.0.0-alpha-8, 4.0.0
    • Plugins and Lifecycle
    • None

    Description

      The 4.0.0 model contains a priority field which is flagged as xml transient.
      The 4.1.0 model which is introduced in alpha-8 changes the flag so that it is now part of the xml model.

      The priority field must be an integer. The priority of a given execution is compared to other executions which are bound to the same phase. Executions derived from the default lifecycle have a negative priority by default so that they are executed before any custom plugin executions.

                 <execution>
                  <id>400. This should be fourth</id>
                  <goals>
                    <goal>run</goal>
                  </goals>
                  <phase>clean</phase>
                  <priority>400</priority>
                </execution>
      

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              hboutemy Herve Boutemy
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: