maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Creating a war from antrun
Date Thu, 19 Nov 2009 04:04:00 GMT
configure your pom to use packaging=pom,

get antrun to build your war,

Then use build-helper-maven-plugin to attach your war file to Maven so
that it can be installed/deployed

http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html

-D

On Wed, Nov 18, 2009 at 7:21 PM, Sony Antony <sony.antony@gmail.com> wrote:
> We have to use one of the weblogic provided ant task in order to create a
> war file.
>
> How will I do this with maven.
> I mean should I give the packaging as pom and then produce teh warfile using
> antrun ? ( But then how will the produced war file be installed to teh local
> repository )
>
> Or should I run antrun first and then, unjar and then let the war plugin war
> it up again ?
>
> Any pointer will be appreciated
> --sony
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message