You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Pandit, Prashant" <Pr...@CW.COM> on 2008/09/01 16:52:24 UTC

Maven Update Dependency

We are facing issue with maven update dependency.When multiple depevlopers run maven ,it takes hours of time in updating dependency from artifactory located in remote.Is it because of network issue causing this slow.I tried to change <nonProxyHosts>localhost</nonProxyHosts> in setting.xml.

This e-mail has been scanned for viruses by the Cable & Wireless e-mail security system - powered by MessageLabs. For more information on a proactive managed e-mail security service, visit http://www.cw.com/uk/emailprotection/ 

The information contained in this e-mail is confidential and may also be subject to legal privilege. It is intended only for the recipient(s) named above. If you are not named above as a recipient, you must not read, copy, disclose, forward or otherwise use the information contained in this email. If you have received this e-mail in error, please notify the sender (whose contact details are above) immediately by reply e-mail and delete the message and any attachments without retaining any copies.
 
Cable and Wireless plc 
Registered in England and Wales.Company Number 238525 
Registered office: 3rd Floor, 26 Red Lion Square, London WC1R 4HQ

Re: Maven Update Dependency

Posted by Wendy Smoak <ws...@gmail.com>.
On Mon, Sep 1, 2008 at 9:10 AM, Pandit, Prashant <Pr...@cw.com> wrote:
> Our developers are in India and repository is in London.
> Yes Maven hangs on each repository it searches before it ever finds the
> artifact and starts downloading it, thus it takes hours of time to complete build. But in London this is not happening, I mean everything works fine.

What does the rest of the setup look like?  Are you using mirrors in
settings.xml to prevent access to public repositories so that
everything goes through Artifactory?  (Are you _allowed_ to access
public maven repos?)

This page might help:
http://maven.apache.org/guides/mini/guide-mirror-settings.html

> One more doubt, it may be b'coz of every time we use mvn install command instead of mvn build

(I assume you mean 'mvn compile'.)  No, that wouldn't cause this.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven Update Dependency

Posted by "Pandit, Prashant" <Pr...@CW.COM>.
Our developers are in India and repository is in London.
Yes Maven hangs on each repository it searches before it ever finds the
artifact and starts downloading it, thus it takes hours of time to complete build. But in London this is not happening, I mean everything works fine.

One more doubt, it may be b'coz of every time we use mvn install command instead of mvn build

-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com]
Sent: 01 September 2008 17:01
To: Maven Users List
Subject: Re: Maven Update Dependency

On Mon, Sep 1, 2008 at 8:43 AM, Pandit, Prashant <Pr...@cw.com> wrote:

>   Thanks for your reply. Yes, we have number of developers accessing the
> repository and we are using Artifactory.

How far away is that Artifactory instance?  I'm trying to figure out
where the delay is happening.

Are you just seeing normal downloads taking a long time, or is Maven
hanging on each repository it  searches before it ever finds the
artifact and starts downloading it?

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


This e-mail has been scanned for viruses by the Cable & Wireless e-mail security system - powered by MessageLabs. For more information on a proactive managed e-mail security service, visit http://www.cw.com/uk/emailprotection/ 

The information contained in this e-mail is confidential and may also be subject to legal privilege. It is intended only for the recipient(s) named above. If you are not named above as a recipient, you must not read, copy, disclose, forward or otherwise use the information contained in this email. If you have received this e-mail in error, please notify the sender (whose contact details are above) immediately by reply e-mail and delete the message and any attachments without retaining any copies.
 
Cable and Wireless plc 
Registered in England and Wales.Company Number 238525 
Registered office: 3rd Floor, 26 Red Lion Square, London WC1R 4HQ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven Update Dependency

Posted by Wendy Smoak <ws...@gmail.com>.
On Mon, Sep 1, 2008 at 8:43 AM, Pandit, Prashant <Pr...@cw.com> wrote:

>   Thanks for your reply. Yes, we have number of developers accessing the
> repository and we are using Artifactory.

How far away is that Artifactory instance?  I'm trying to figure out
where the delay is happening.

Are you just seeing normal downloads taking a long time, or is Maven
hanging on each repository it  searches before it ever finds the
artifact and starts downloading it?

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven Update Dependency

Posted by Wendy Smoak <ws...@gmail.com>.
On Mon, Sep 1, 2008 at 7:52 AM, Pandit, Prashant <Pr...@cw.com> wrote:
> We are facing issue with maven update dependency.When multiple depevlopers run maven ,it takes hours of time in updating dependency from artifactory located in remote.Is it because of network issue causing this slow.I tried to change <nonProxyHosts>localhost</nonProxyHosts> in setting.xml.

Can you describe your setup a bit more?  It sounds like you have a
group of developers accessing an Artifactory repo that is very far
away.

You might want to run another Artifactory (or Archiva or Nexus)
instance "closer" to the developers, and let it proxy the other one.
That way you'll only see the long download time once per artifact,
rather than once per developer per artifact.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org