Maven
  1. Maven
  2. MNG-4341

[regression] Plugins are not executed in POM order

    Details

    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      The Selenium Maven Plugin declares

      <plugin>
        <groupId>org.codehaus.groovy.maven</groupId>
        <artifactId>gmaven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>generateStubs</goal>
              <goal>compile</goal>
              <goal>generateTestStubs</goal>
              <goal>testCompile</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>descriptor</goal>
              <goal>helpmojo</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      

      i.e. with the gmaven-plugin preceeding the maven-plugin-plugin, yet trunk executes maven-plugin-plugin:helpmojo first, causing it to fail due to "No mojo definitions". The mojos get generated during gmaven-plugin:generateStubs.

        Issue Links

          Activity

          Benjamin Bentmann made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Resolution Fixed [ 1 ]
          Assignee Benjamin Bentmann [ bentmann ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4345 [ MNG-4345 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4344 [ MNG-4344 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-2258 [ MNG-2258 ]

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: