axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@wso2.com>
Subject Re: [AXIS2] how to reduce build time
Date Thu, 12 Apr 2007 18:49:32 GMT

> I agree that it's weird and sort of silly that Maven seems to check 
> ALL of the repositories for each dependency.  Anyone know if there's a 
> way to turn that off?
AFAIK it is a deficiency in Maven 1 where a snapshot is looked up from 
each remote repo multiple times. To take even longer.. it checks for a 
snapshot in each repo where snapshots are marked as enabled, and also 
looks for a POM before each such artifact is looked up.

Even Maven 2 looks up POMs for all artifacts before each online build - 
but only once per run/build, and by limiting your repositories you could 
considerably reduce the build time. Also unit tests and general 
execution with Maven 2 (2.0.6) is much faster than Maven 1. Although 
Maven may not be the ultimate build tool, Maven 2 is definitely better 
than Maven 1

asankha


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message