ant task apply is wrong by PlexusConfiguration
----------------------------------------------
Key: MANTRUN-130
URL: http://jira.codehaus.org/browse/MANTRUN-130
Project: Maven 2.x Antrun Plugin
Issue Type: Bug
Environment: maven 2.0.7
Reporter: jiangyongyuan
run this ant task plugin , the pom file is :
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<apply executable="echo" >
<fileset dir=".">
</fileset>
<srcfile />
<arg value="-o" />
<targetfile />
<mapper type="glob" from="*" to="*" />
</apply>
</tasks>
</configuration>
</execution>
</executions>
than the PlexusConfiguration parse :
<apply executable="echo" >
<fileset dir=".">
</fileset>
<arg value="-o" />
<srcfile />
<targetfile />
<mapper type="glob" from="*" to="*" />
</apply>
the goal result : file1.txt -o file1.txt
the error result : -o file1.txt file1.txt
--
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