Yes, this is the case for the WAR plugin. You should put them in the META-INF subdirectory of the webapp sources (specified by maven.war.src, which defaults to src/webapp).
- Brett On Sun, 23 Jan 2005 22:28:56 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm having a problem with the provided solution. When I run the war > plugin, the resources are automatically copied to the build/classes > directory and are included in the WAR in the WEB-INF/classes directory. > > What do I need to do in order for the resources to be copied to the > META-INF directory? > > Thank you for the help. > > Scott > > > -----Original Message----- > > From: Michael Schuerig [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 21, 2005 5:17 AM > > To: users@maven.apache.org > > Subject: Re: war plugin: including Tomat context.xml in META-INF? > > > > On Friday 21 January 2005 14:04, Maczka Michal wrote: > > > > > > Tomcat allows to define JNDI resources in the file > > > > META-INF/context.xml > > > > include in the web app's war. I don't see how to put a file > > > > there using > > > > the war plugin. Is it possible? > > > > > > put this file into (the recommended location) > > > > > > src > > > main > > > resources > > > META-INF > > > > > > and use <resources> section in your POM to declare this location. > > > > Ah, thanks, I was under the impression that META-INF got some special > > treatment. Some kind of ant hangover... > > > > Michael > > > > -- > > Michael Schuerig Not only does lightning not strike > > mailto:[EMAIL PROTECTED] twice, it usually doesn't strike > once. > > http://www.schuerig.de/michael/ --Salman Rushdie, Fury > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]