[ 
http://jira.codehaus.org/browse/MNG-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter updated MNG-4000:
------------------------------

    Fix Version/s: 3.0-alpha-3

> [regression] Plugin executions without id are lost when multiple executions 
> are defined
> ---------------------------------------------------------------------------------------
>
>                 Key: MNG-4000
>                 URL: http://jira.codehaus.org/browse/MNG-4000
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0-alpha-3
>
>
> Input POM:
> {code:xml}
> <build>
>   <plugins>
>     <plugin>
>       <groupId>org.apache.maven.its.plugins</groupId>
>       <artifactId>maven-it-plugin-log-file</artifactId>
>       <version>2.1-SNAPSHOT</version>
>       <configuration>
>         <logFile>target/exec.log</logFile>
>         <string>exec-/string>
>       </configuration>
>       <executions>
>         <execution>
>           <id>exec-1</id>
>           <phase>validate</phase>
>           <goals>
>             <goal>log-string</goal>
>           </goals>
>         </execution>
>         <execution>
>           <!-- NOTE: <id> deliberately omitted here! -->
>           <phase>validate</phase>
>           <goals>
>             <goal>log-string</goal>
>           </goals>
>         </execution>
>       </executions>
>     </plugin>
>   </plugins>
> </build>
> {code}
> Effective POM:
> {code:xml}
> <build>
>   <plugins>
>     <plugin>
>       <groupId>org.apache.maven.its.plugins</groupId>
>       <artifactId>maven-it-plugin-log-file</artifactId>
>       <version>2.1-SNAPSHOT</version>
>       <configuration>
>         <logFile>target/exec.log</logFile>
>         <string>exec</string>
>       </configuration>
>       <executions>
>         <execution>
>           <id>exec-1</id>
>           <phase>validate</phase>
>           <goals>
>             <goal>log-string</goal>
>           </goals>
>         </execution>
>       </executions>
>     </plugin>
>   </plugins>
> </build>
> {code}
> Note that the execution without {{<id>}} is missing.

-- 
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