Hi!

Of course, any help is welcome. But mind the problems which may arise:
You can only download in parallel after all poms got fully parsed 

Imo all the archive resolver stuff must first downloading all the poms and 
parse them. This must not be done in parallel because you don't know yet if 
there are things which could be done in parallel.
But of course, downloading the jars and other types might well be done with 
parallel requests.

LieGrue,
strub
 

--- On Fri, 8/12/11, Gaurav Arora <[email protected]> wrote:

> From: Gaurav Arora <[email protected]>
> Subject: RE: Parallel download dependencies in same group
> To: "Maven Users List" <[email protected]>
> Date: Friday, August 12, 2011, 7:01 AM
> I have noticed that if I download two
> separate builds from Nexus, they
> both download at the same speed. It's almost as if parallel
> downloads
> (upto a certain point) are faster on nexus hence the
> request.
> 
> Would it be okay if I worked on this and submitted a patch
> to download
> dependencies in parallel? I'm not sure how patch
> submissions work in the
> maven ecosystem so any links would be most helpful.
> 
> Thanks,
> Gaurav
> 
> -----Original Message-----
> From: Wayne Fay [mailto:[email protected]]
> Sent: Thursday, August 11, 2011 9:08 PM
> To: Maven Users List
> Subject: Re: Parallel download dependencies in same group
> 
> > That was my initial idea too. But the problem is that
> these are trunk
> builds
> > with deep dependencies so they change very frequently.
> Most likely if I
> > rerun my tests 30 minutes later then I will recieve a
> new build because
> one
> > of the many in-house libraries has changed. We also
> work within a large
> team
> > where developers are frequently changing code so the
> version keeps
> updating.
> 
> Eventually you're going to have to pay the price for
> having
> development and builds happen in one area of the world and
> testing
> happen in another with a too-small Internet pipe connecting
> them.
> 
> Sounds like you need a local CI server + local Nexus slave
> + "mvn
> verify" job that runs every 10 or 15 minutes. The downloads
> will
> merely consume CPU time on your CI server rather than
> wasting your
> time.
> 
> Wayne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to