Or more easily,  move them to src/main/resources, following the convention.

On Wed, Nov 24, 2010 at 8:51 PM, GALLAGHER, RON (ATTSI) <rg7...@att.com> wrote:
> David,
>
> You can add a project/build/resources/resource entry [1] to your POM
> file to accomplish this.
>
> [1]
> http://maven.apache.org/ref/3.0/maven-model/maven.html#class_resource
>
> Ron Gallagher
>
>
> -----Original Message-----
> From: KARR, DAVID (ATTSI)
> Sent: Tuesday, November 23, 2010 11:11 AM
> To: users@maven.apache.org
> Subject: Proper way to deploy properties files into WEB-INF/classes?
>
> In my "src/main/java" tree, I have properties files that need to be
> deployed into WEB-INF/classes.  I thought these would be copied by
> default, but they are not.  They didn't go into "target/classes" or
> "WEB-INF/classes".  I don't need to filter properties in it.  I'm using
> version 2.1.1 of the maven-war-plugin.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to