Well, the first step would be determining exactly where your build is
spending its time - compiling, building the war, deploying the war (locally
and/or remotely)?  If your current build output doesn't give enough
information, try "mvn -X" for more verbose output.  Then you will have a
better idea where to look for improvement.  I doubt that the maven memory
footprint is the source of your speed issues.

On Thu, May 12, 2011 at 12:53 PM, javadaisy <[email protected]> wrote:

> Hi,
>
> I am using maven 2.2.1 with cargo plugin to deploy into the local and
> remote
> host.  It takes around 7 to 8 minutes to build and deploy the war.  I would
> like to reduce the time to 3 minutes or less than 3 minutes.  can anybody
> please tell me how to do that?.
>
> I tried adding set MAVEN_OPTS=-DXms_1024M -DXmx=1024M in mvn.bat.  It
> didn't
> work
>
> Thanks in advance.
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp4390836p4390836.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to