Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0.4
-
Fix Version/s: 2.0.5
-
Component/s: None
-
Labels:None
-
Environment:windows
-
Complexity:Intermediate
-
Number of attachments :
Description
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 seems to be a regression, so I don't think we should push it out to 2.0.6.