Creating a war from antrun

2009-11-18 Thread Sony Antony
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

Re: Creating a war from antrun

2009-11-18 Thread Dan Tran
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