How do I copy a file to tomcat webapp folder using maven?
问题 I want to copy a resource file from src/main/resources to Cargo Tomcat in /target/tomcat6x/container/webapps using Maven . I tried using maven-resources-plugin but am not having any success. I tried this: <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0.5</version> <configuration> <wait>false</wait> <container> <containerId>tomcat6x</containerId> <zipUrlInstaller> <url> http://mirrors.enquira.co.uk/apache/tomcat/tomcat-6/v6.0.30/bin