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.

-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]>

Reply via email to