You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/09/07 16:11:33 UTC

[jira] Created: (MNG-4341) [regression] Plugins are not executed in POM order

[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

        

[jira] Closed: (MNG-4341) [regression] Plugins are not executed in POM order

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4341.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 3.0-alpha-3

Fixed in [r812259|http://svn.apache.org/viewvc?view=rev&revision=812259].

> [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
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-3
>
>
> 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