Hi Vincent,

> 
> James,
> 
> Simply run "maven war:webapp". This will create an expanded webapp in
> target/, which you can then copy wherever you want in a post goal in
> your maven.xml.

Yea, we're doing that. The other thing we're doing is creating
a JBoss-deployable warfile (exploded warfile actually) of the maven-
generated project site. The xdocs, checkstyle, etc... To do that we
build a WEB-INF in ${webapp.test.dir}/${maven.id}-site.war/ and
add a few things to it before copying over ${maven.docs.dest}. I'm
just wondering if there's a better/cleaner way of doing such.

This just ocurred to me too... Does ${maven.conf.dir} go away
now that you're expecting the web.xml in 
${maven.src.dir}/webapp/WEB-INF/web.xml?

> 
> -Vincent
> 
> > -----Original Message-----
> > From: James CE Johnson [mailto:[EMAIL PROTECTED]]
> > Sent: 25 August 2002 03:15
> > To: Turbine Maven Users List
> > Subject: Re: [War plugin] Latest changes
> > 
> > Hi Vincent,
> > 
> > We also like to build the project site as a deployable webapp. How
> would
> > you recommend doing that?
> > 
> > Thanks,
> > James
> > 
> > Vincent Massol wrote:
> > 
> > >I have committed the changes for the war plugin as have been
> discussed
> > >previously on maven-dev :
> > >
> > >- single webapp located by default in ${maven.src.dir}/webapp
> > >- web.xml is now looked for in
> ${maven.src.dir}/webapp/WEB-INF/web.xml
> > >- support for xxx:yyy notation for dependent jars
> > >- updated plugin doc to reflect all this.
> > >
> > >FYI, if you wish to include dependent jars in your webapp/war, you
> need
> > >to add the following in your project.xml (Note: this mechanism will
> > >probably change in the future!):
> > >
> > >  <dependency>
> > >    <id>jarid</id>
> > >    <version>jarversion</version>
> > >    <properties>
> > >      <war.bundle.jar>true</war.bundle.jar>
> > >    </properties>
> > >  </dependency>
> > >
> > >Cheers,
> > >-Vincent
> > >
> > >
> > >
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


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

Reply via email to