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

[regression] Order of plugin executions within same phase does not match POM order when plugin management is used

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-1
    • Fix Version/s: 3.0-alpha-2
    • Component/s: Plugins and Lifecycle
    • Labels:
      None

      Description

      For a POM snippet like

      <executions>
        <execution>
          <id>test-1</id>
          <phase>validate</phase>
          <goals>
            <goal>one</goal>
          </goals>
        </execution>
        <execution>
          <id>test-2</id>
          <phase>validate</phase>
          <goals>
            <goal>two</goal>
          </goals>
        </execution>
      </executions>
      

      the effective goal execution order is either [one, two] or [two, one] depending on the usage of <pluginManagement> for the plugin in question.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sisbell Britton Isbell
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: