Re: help - how to reduce the build time using mvn and cargo
Bunch of thanks to all for sharing the info. Yes my war is very big. Its size is almost 62MB. It builds in 7 mins than other machines. It uses 30 dependencies and xml resources. -- View this message in context: http://maven-users.828.n2.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp6356451p6360977.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: help - how to reduce the build time using mvn and cargo
Thanks for pointing me to the right direction. For clean and compile it takes around 1Min and it takes around 3 1/2 mins for packaging the war file. -- View this message in context: http://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp4390836p4391561.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
help - how to reduce the build time using mvn and cargo
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: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: cargo tomcat configurations in settings.xml
I solved this problem. Acutally maven is unable to read the settings.xml file. So I placed the file in users home/.m2 directory then it worked. Thanks for your support. -- View this message in context: http://maven-users.828.n2.nabble.com/cargo-tomcat-configurations-in-settings-xml-tp6338184p6344655.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
cargo tomcat configurations in settings.xml
Hi, I am using cargo to deploy the war in both local and remote tomcat containers. I have hardcoded the catalina home, cargo.remote.url, cargo.remote.username, cargo.remote.password inside the pom.xml file. I am trying to move these details from POM to settings.xml file. I tried using properties, profile, server tags in the settings.xml file. Unfortunately it didn't work. I even tried with cargo 1.1.0-SNAPSHOT version with maven2 and maven3. I am getting error saying 401 response code. Can anybody help me how to work out this. Thanks in advance. Here is the stacktrace [cargo:deployer] [WARNING] [mcat6xRemoteDeployer] The property cargo.tomcat.manager.url has been deprecated, please use cargo.remote.uri instead. [ERROR]FATAL ERROR Failed to redeploy Server returned HTTP response code: 401 for URL: http://...:8080/manager/list Trace org.codehaus.cargo.container.ContainerException: Failed to redeploy at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:191) at org.codehaus.cargo.maven2.DeployerRedeployMojo.performDeployerActionOnSingleDeployable(DeployerRedeployMojo.java:40) -- View this message in context: http://maven.40175.n5.nabble.com/cargo-tomcat-configurations-in-settings-xml-tp4376528p4376528.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org