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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-alpha-1
    • 3.0-alpha-2
    • Plugins and Lifecycle
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: