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
Add to your pom section:
org.apache.maven.plugins maven-war-plugin true src/main/webapp **/web.xml src/main/webapp src/main/webapp/WEB-INF/web.xml
See Maven: Customize web.xml of web-app project for more details