Add <scope>provided</scope> or <scope>test</scope> to your dependencies so the was does not include the jars you do not need. Alternatively, you can add <excludes> to omit transitive dependencies also.
--- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Twitter: http://twitter.com/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Sun, Mar 8, 2009 at 8:19 AM, Prag <[email protected]> wrote: > > I have the following situation: > > I have a dev machine and a server machine running Tomcat. When Maven > creates > a WAR on the dev machine, it has to be transferred to the server, which > takes some time due to all the libraries in the WAR. > > Is there a way to decrease this time? Maybe there somehow is a way to let > Maven manage the library depencencies on Tomcat so that not all libraries > have to be transferred every time? Possibly using other tools? > -- > View this message in context: > http://www.nabble.com/Decrease-War-size%2C-to-Decrease-Deploy-time-tp22399691p22399691.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] > >
