dev@glassfish.java.net

Re: FYI: Glassfish V3 build time: plain vs '-U'

From: Ken Cavanaugh <Ken.Cavanaugh_at_Sun.COM>
Date: Mon, 11 Aug 2008 13:37:12 -0700

Jerome Dochez wrote:
>
> On Aug 11, 2008, at 1:18 PM, Lloyd Chambers wrote:
>
>> This might be a data point of interest to those building V3 a lot—
>>
>> I first did a full build to populate my local repo.
>>
>> Times to build:
>>
>> clean; mvn install : 4 minutes
>> clean; mvn -U install : 21 minutes
>>
>>
>> So using the '-U' option may be "expensive"...
> absolutely, that's why a pure snapshot based projects would be
> expensive, since you would need to run mvn -U at each integration.
> version based are of course a lot faster. So time lost doing releases
> versus time lost checking for updated snapshots is the trade-off we
> need to balance.
>
> of course one way to speed up the mvn -U time would be to reduce the
> number of repository configured in our pom.xml
This is probably a good reason to look at using Nexus as a repository
manager, so that we only
go to the Nexus repo instance to get artifacts. We need a Nexus
instance on SWAN,
as well as one off of SWAN.

Ken.
>
>>
>>
>> I am remote but with a 8-13 megabit connection.
>>
>> Lloyd
>>
>> ..............................................
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish team, admin
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>