Re: Maven 3.0.3 hanging / having timeouts often??

2012-04-26 Thread Arne Tøn
FYI: The situation described in this thread reminds me of my problem in the thread Initial Maven Install - repository download fails on large fileshttp://mail-archives.apache.org/mod_mbox/maven-users/201204.mbox/%3cCAGQXBeOOrzfe+Tw7H4zrBLXERD0Sx_or2NJ-8E6nAzMSxML=w...@mail.gmail.com%3e. It seems

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-25 Thread Henrik Arro
Thanks for the suggestion, but unfortunately the same behavior when running Maven in a Windows command-line (cmd.exe). Running mvn -X does not provide much useful information, as far as I can tell, just a timeout after around 30 minutes: [DEBUG] Using connector WagonRepositoryConnector with

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-25 Thread Henrik Arro
Interesting. Do you have an example of another Java application that has network connectivity problems? Then I could try it to see if it is the combination Java / network hardware that is the culprit. Just for the record, my JAVA_HOME is C:\Program Files\Java\jdk1.7.0_03, but when I run java

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-25 Thread Wayne Fay
Just for the record, my JAVA_HOME is C:\Program Files\Java\jdk1.7.0_03, but when I run java -version, I get java version 1.6.0_31. The computer in That simply means you have another java in your path before the jdk1.7.0_03. Perhaps there is a java.exe file in c:\windows or something like that.

RE: Maven 3.0.3 hanging / having timeouts often?

2012-04-25 Thread Bob Wang
Hi, You can use where java in the command line to check where your java is. -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Wednesday, April 25, 2012 9:45 PM To: Maven Users List Subject: Re: Maven 3.0.3 hanging / having timeouts often? Just for the record, my

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-25 Thread Wayne Fay
Interesting. Do you have an example of another Java application that has network connectivity problems? Then I could try it to see if it is the combination Java / network hardware that is the culprit. Problems like this on Windows are frequently related to some antivirus or firewall (Windows

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-23 Thread arro
Sorry for resurrecting an old thread, but I'm having the exact same problem with Maven 3.0.4 timing out while trying to download artifacts. Right now I'm running Maven from home, with no proxy. The problem also occured when I tried to use the same laptop at work, with a Nexus repository manager.

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-23 Thread Wayne Fay
I'm on Windows 7 and cygwin (CYGWIN_NT-6.1-WOW64). I have removed my ~/.m2/settings.xml to see if that made any difference -- it did not. There does not appear to be any network problem, I can download the artifacts manually (in Firefox) just fine. Can you try building your projects with

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-23 Thread martin.eisengardt
I got some similar problems. https://bugs.eclipse.org/bugs/show_bug.cgi?id=362418 Seems that java itself or maven or any other thing is not liking my aviara firewall or my network device. There are some other java apps that sometime have the same connection problems resulting in timeouts. Are

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Andrew Robinson
Any advice on this? Should I be opening a maven bug? It is really killing my productivity as I have to babysit every build and keep aborting it and restarting it several times until all updates (mostly snapshots per day) are downloaded. Thanks, Andrew On Thu, May 12, 2011 at 5:39 AM, Alex Lopez

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Wayne Fay
Any advice on this? Should I be opening a maven bug? It is really killing my productivity as I have to babysit every build and keep aborting it and restarting it several times until all updates (mostly snapshots per day) are downloaded. If this was typical then we would see similar complaints

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Andrew Robinson
Archiva is being used to serve our internal packages of our company, it is not being used to serve dependencies from internet repositories. So no I cannot send all requests through Archiva. It may be as simple as a linux kernel issue with e1000e driver (dell latitude E6410). It has caused me

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Benson Margulies
Unless you can post a project to github that demonstrates differential behavior everywhere, or use mvn -X or wireshark to deliver an analysis of *how* 3.0.3 is hitting the network differently than 2.2.1, you're unlikely to get much succor here. It would really help you if you could convince your

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Barrie Treloar
On Tue, May 17, 2011 at 3:04 AM, Benson Margulies bimargul...@gmail.com wrote: Or if you quietly put a copy of Archiva or Nexus for those purposes on your own machine :-) Running a repository manager locally is a smart idea if you are on a laptop. Saves you the pain of reconfiguring maven when

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Benson Margulies
Running a local nexus means never having to say --offline On Mon, May 16, 2011 at 7:43 PM, Barrie Treloar baerr...@gmail.com wrote: On Tue, May 17, 2011 at 3:04 AM, Benson Margulies bimargul...@gmail.com wrote: Or if you quietly put a copy of Archiva or Nexus for those purposes on your own

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Alex Lopez
Em 12-05-2011 01:22, Andrew Robinson escreveu: I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit == ubuntu natty 11.04 64-bit) and installed maven 3. In maven 3.0.3, (I have not seen it with maven

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Alex Lopez
Now this got me thinking, my intuition is that this might be a network related problem... maybe maven 2 had shorter timeouts, hence not appearing to hang, does Maven 3 download more than one dependency at the same time? Does this behavior differ from version 2? Why hitting ^C under such

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Tim Pizey
On 12 May 2011 11:50, Alex Lopez wrote: Em 12-05-2011 01:22, Andrew Robinson escreveu: I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit == ubuntu natty 11.04 64-bit) and installed maven 3. In

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Anders Hammar
Yes, Maven 3 should download artifacts in parallell. But Maven 2.2.1 also does that (this feature was introduced in 2.1.0 IIRC). But it is likely two different implementations. /Anders On Thu, May 12, 2011 at 13:01, Alex Lopez alo...@flordeutopia.pt wrote: Now this got me thinking, my

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Alex Lopez
Em 12-05-2011 12:02, Tim Pizey escreveu: On 12 May 2011 11:50, Alex Lopez wrote: Em 12-05-2011 01:22, Andrew Robinson escreveu: I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit == ubuntu natty

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Andrew Robinson
They are going through my proxy, why would you think I am hitting them directly? I have my proxy setup in my settings.xml. It is working most of the time, if it were the fact that my proxy was not used, it would fail 100% of the time (all internet traffic must go through our proxy at work).

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Wayne Fay
They are going through my proxy, why would you think I am hitting them directly? I'm OK with the proxy. I'm confused about the Archiva repo you have installed. I should not have said proxy when I really meant MRM/Archiva. Your log shows that your build is hitting Archiva and then also hitting

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Andrew Robinson
Okay, good to know, I'll forward that question onto the fellas that configured our settings.xml and pom.xml files for mvn3. On Thu, May 12, 2011 at 10:12 AM, Wayne Fay wayne...@gmail.com wrote: They are going through my proxy, why would you think I am hitting them directly? I'm OK with the

Maven 3.0.3 hanging / having timeouts often?

2011-05-11 Thread Andrew Robinson
I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit == ubuntu natty 11.04 64-bit) and installed maven 3. In maven 3.0.3, (I have not seen it with maven 2.2.1), it stops downloading after a few to several

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-11 Thread Wayne Fay
Downloading: http://internalserver.ouritranet.com:8086/archiva/repository/internal/org/apache/maven/skins/maven-default-skin/maven-metadata.xml http://repo2.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml