I want to copy some files to my WEB-INF when I package my Web Application. So I included the configuration
<webResources> <resource> <directory>dist/Jboss/teste</directory> <targetPath>WEB-INF</targetPath> </resource> </webResources> on the maven-war-plugin The files are copied correctly to the war, the problem is that they are also copied to the source folder (the one that I use to edit my application). Being so, every time I package my application, I have to revert the contents of the WEB-INF folder from CVS. Is that anyway to copy files to the generated WAR without copy them to the source folder? Thanks in advance, FabrÃcio Lemos