> -----Original Message-----
> From: James CE Johnson [mailto:[EMAIL PROTECTED]]
> Sent: 25 August 2002 12:33
> To: [EMAIL PROTECTED]
> Subject: Re: [War plugin] Latest changes
>
> 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.
>
Ok, this is different from the WAR plugin. This is about deploying the
generated docs in a given format. The best is simply to have a post Goal
for the "site" target (or even better, another target called something
like "site:install-war" or similar) that simply uses the Ant <war> task
<war warfile="/destination/location/xxx.war">
[...]
</war>
But it falls out of the War plugin which has a different goal: generate
war of sources.
> 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?
>
The war plugin does not use maven.conf.dir anymore but maven.conf.dir
does not go away. It is used by other plugins and is not owned by the
war plugin (the naming convention for all properties owned by the war
plugin is : maven.war.*).
-Vincent
> >
> > -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:turbine-maven-user-
> [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> >
>
>
> --
> 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]>