You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Fabricio Lemos <fa...@gmail.com> on 2008/06/30 19:31:35 UTC
Copy files to WAR without copy them to the source folder
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