You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2006/11/02 15:35:51 UTC

[jira] Updated: (MNG-2612) antrun's exec task breaks in 2.0.5-SNAPSHOT

     [ http://jira.codehaus.org/browse/MNG-2612?page=all ]

Dan Tran updated MNG-2612:
--------------------------

    Affects Version/s:     (was: 2.0.5)
                       2.0.4
        Fix Version/s: 2.0.5

> antrun's exec task breaks in 2.0.5-SNAPSHOT
> -------------------------------------------
>
>                 Key: MNG-2612
>                 URL: http://jira.codehaus.org/browse/MNG-2612
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: windows
>            Reporter: Dan Tran
>             Fix For: 2.0.5
>
>         Attachments: pom.xml
>
>
> I have no problem run the below pom in 2.0.4, but in 2.0.5-SNAPSHOT.  
> mvn package throws this
> [INFO] Error executing ant tasks
> Embedded error: Execute failed: java.io.IOException: CreateProcess: mvn.bat --he
> lp error=5
> Here is the pom
> --------------------------------------------
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>org.codehaus.mojo.pde</groupId>
>   <artifactId>m2eclipse</artifactId>
>   <version>1.0-SNAPSHOT</version>
>   <packaging>pom</packaging>
>   <name>AntRun break in 2.0.5-SNAPSHOT Build</name>
>   
>   <build>
>     <plugins>
>   
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>             <id>build</id>
>             <phase>compile</phase>
>             <goals>
>               <goal>run</goal>
>             </goals>
>             <configuration>
>               <tasks>
>                 <exec executable="mvn.bat">
>                   <arg line="--help" />
>                 </exec>
>               </tasks>
>             </configuration>
>           </execution>    
>         </executions>
>       </plugin>
>       
>     </plugins>
>   </build>
>   
> </project>
> -------------------------------------------

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