maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabricio Lemos" <fabricio.le...@gmail.com>
Subject Copy files to WAR without copy them to the source folder
Date Mon, 30 Jun 2008 17:31:35 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message