I have a Maven project that downloads some test files into its build directory ./target/files. These files should then be available to a servlet, which I can ea
./target/files
You can use Replace Ant Task to do it.
Heres a sample Implementation where i replace the tokenkeys in a property file , adapt it to suit your needs
test.properties
SERVER_NAME=@SERVER_NAME@ PROFILE_NAME=@PROFILE_NAME@
pom.xml
maven-antrun-plugin 1.7 compile run
voila! Now execute
mvn clean package