[regression] Plugins are not executed in POM order
--------------------------------------------------

                 Key: MNG-4341
                 URL: http://jira.codehaus.org/browse/MNG-4341
             Project: Maven 2
          Issue Type: Bug
          Components: Plugins and Lifecycle, POM
    Affects Versions: 3.0-alpha-3
            Reporter: Benjamin Bentmann


The Selenium Maven Plugin declares
{code:xml}
<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>
{code}
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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to