maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <>
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


On Wed, Nov 18, 2009 at 7:21 PM, Sony Antony <> 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:
For additional commands, e-mail:

View raw message