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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to