Hi,
Is there a way to use the available task of ant within the antrun-plugin
configuration? And, use the "antcall" task?
I would like to have something like:
<build>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>dosomething</id>
<phase>test</phase>
<configuration>
<tasks>
<antcall target="do"/>
<target name="file.available">
<available file="some.file"
property="file.exists"/>
</target>
<target name="do"
if="file.exists">
<some taks here>
</target>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
...
</build>
Is there a way to do it?
Thanks,
Erez.