It works for me, like the doc says.  Could it be that you are using an older
version of plugin?

-D




On 7/7/06, Vinny <[EMAIL PROTECTED]> wrote:

yeah, that will work but the docs for the war plugin do say:

"The default resource directory for all maven2 projects is
src/main/resources which will end up in target/classes and in
WEB-INF/classes in the war"


http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html

On 7/7/06, Jesse McConnell <[EMAIL PROTECTED]> wrote:
> pretty sure you want to put that stuff in
src/main/webapp/WEB-INF/classes
>
> On 7/7/06, Vinny <[EMAIL PROTECTED]> wrote:
> > One additional datapoint: the files are being copied
> > to target/classes correctly just not
to  target/<webapp>/WEB-INF/classes
> >
> > On 7/7/06, Vinny <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > > I thought the standard behavior for 'package' would be to copy
> > > all files from src/main/resources to WEB-INF/classes. The issue
> > > I'm facing is with my spring applicationContext.xml file.  I want to
make that
> > > file available to both my tests and to be put into my webapp. I
though
> > > having it in
> > > src/main/resources would solve that problem,  but it's not being
> > > copied into the
> > > webapp anywhere. Currently  I have to keep 2 copies. Is this the
> > > expected behaivior?
> > >
> > > --
> > > Ghetto Java: http://www.ghettojava.com
> > >
> >
> >
> > --
> > Ghetto Java: http://www.ghettojava.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> --
> jesse mcconnell
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Ghetto Java: http://www.ghettojava.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to