On Sat, Aug 28, 2010 at 12:12 PM, mudit tuli <[email protected]> wrote:

> When I do maven package, this gives me a bloated WAR with all the
> dependencies which is 19MB in size.
>
> For some reasons I need to deploy WAR onto my VPS time and again to test.
>
> But deploying a 19MB war is time consuming, can I try to strip off the
> dependency JARs in the WAR ?
>
> Tried packaging a skinny war and referenced the the dependency jars with
> shared.loader in catalina.properties, is this the right way to do it ?
>
> Using maven2 and tomcat6.
>
> Not to mention, I am very new to maven.
>

Deploying the full war is the right thing to do.  But wouldn't it be easier
to deploy to a local tomcat before going straight to your VPS?

-Dom

Reply via email to