Loading...
четвер, 8 серпня 2013 р.

Copy file with maven ant plugin


<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-config.xml</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy file="src/main/resources/config/config.xml"
tofile="/home/userfolder/config/config.xml">
</copy>
</tasks>
</configuration>
</execution>
</executions>
</plugin>

0 коментарі:

 
TOP