Sorry those directories are all wrong. ;-)
First is:
<war base>/src/main/webapp/WEB-INF
Second one is:
<war base>/src/main/resources/WEB-INF
Wayne
On 3/22/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Put it in: <war basedir>/src/main/WEB-INF
> And it will automatically be included in your WAR.
>
> If that doesn't work, put it in:
> <war base>/src/resources/WEB-INF
>
> Wayne
>
>
> On 3/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I want to add my jboss-web.xml with my web.xml file in my WEB-INF directory
> > in my WAR file.
> >
> > Is there a way to include this file in the war with maven 2?
> >
> >
> >
> > On 3/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > >
> > > I can not get maven2 to add my *jboss-web.xml* file in my war file. Here
> > > is my plugin for it!
> > > With the <includes/> my war file builds as empty war no class files added.
> > >
> > > How do I get this file in my war?
> > >
> > >
> > > <plugin>
> > >
> > > <artifactId>maven-war-plugin</ artifactId>
> > >
> > > <configuration>
> > >
> > > <webXml>${basedir}/WEB-INF/web.xml </webXml>
> > >
> > > <outputDirectory>/usr2/local/jboss-4.0.3SP1/server/nextServer/deploy/ </
> > > outputDirectory>
> > >
> > > </configuration>
> > >
> > > </plugin>
> > >
> > >
> > >
> > > Thanks
> > >
> >
> >
>