Anyone else have a problem with antrun ignoring overwrite="false"? I
have the following in my pom
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy
todir="${basedir}/target/${artifactId}/WEB-INF/config/">
<fileset
dir="${basedir}/target/classes/config/">
<include
name="*.*" />
</fileset>
</copy>
<copy
overwrite="false"
todir="${basedir}/src/main/webapp/WEB-INF/config/">
<fileset
dir="${basedir}/target/classes/config/">
<include
name="*.*" />
</fileset>
</copy>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
The second copy shouldn't override files if they already exist in
that directory, but it is. Anyone see anything incorrect with this code?