Hi.
Use the ant plugin. Here's an example:
<build>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<delete file="src/main/resources/config.properties" />
<copy file="src/main/resources/gold/config.properties"
tofile="src/main/resources/config.properties" />
<delete file="src/main/resources/TestData.properties" />
<copy file="srcץץץץץ
Thanks,
Yaron
בתאריך 5 בדצמ' 2014 17:13, "Aitor Iturriondobeitia" <[email protected]>
כתב:
> hello
> I must to copy one file before anything,
> This file contains some properties for filtering
> What plugin must i use and how for moving one file to one directory?
> Thanks
>