Thanks again, guys. Plus you can specify where the files come from if
you don't want to put them in src/main/resources:
<resources>
<resource>
<targetPath>foo</targetPath>
<directory>${basedir}/src/main/java/foo</directory>
<includes>
<include>*.xml</include>
</includes>
</resource>
...
</resources>
------------------------------------------------
Two ways:
* First is to save the bar.xml into src/main/resources/foo/bar.xml so you
don't have to configure anything.
* Second is to use <targetPath>foo</targetPath> in <resource>
On 4/10/07, Rod Mclaughlin <[EMAIL PROTECTED]> wrote:
I know how to make Maven copy a buncha files into the classpath, but
does anyone know how to make it copy into a particular folder? Eg. I want
src/main/java/foo/bar.xml to go in
target/classes/foo/
next to bar.class?
Thanks for any assistance. I have of course googled for it, to no avail.
<resources>
<resource>
<directory>${basedir}/war/WEB-INF</directory>
<includes>
<include>*.properties</include>
<include>*.xml</include>
</includes>
</resource>
</resources>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]