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 circumstances wouldn't end mvn process, instead forcing it to continue?

Em 12-05-2011 11:50, Alex Lopez escreveu:

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 2.2.1), it stops
downloading
after a few to several downloads. If I ^C the build, and keep
re-running it,

+1, I've been having this kind of 'hangs', using maven 3.0.2 and
artifactory 2.3.1 (sometimes when running maven site, sometimes
performing a build), then ^C seems to get maven to continue doing what
it was doing and eventually end with success...

it will eventually built. It only dies when maven is trying to download
file. It may happen before any progress is display, partial progress
or full
progress.

Example:
Downloading:
http://internalserver.ouritranet.com:8086/archiva/repository/internal/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Downloading: http://
internalserver.ouritranet.com:8086/archiva/repository/snapshots-corporate/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Downloading:
http://repo2.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Downloading:
http://www.ibiblio.org/maven/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

341 B 341 B

If I let it go for a while it then prints:
Downloading:
http://internalserver.ouritranet.com:8086/archiva/repository/internal/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Downloading:
http://internalserver.ouritranet.com:8086/archiva/repository/snapshots-corporate/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Downloading:
http://repo2.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Downloading:
http://www.ibiblio.org/maven/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

[WARNING] Checksum validation failed, could not read expected checksum:
Error transferring file: Connection timed out for
http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

[WARNING] Checksum validation failed, could not read expected checksum:
Error transferring file: Connection timed out for
http://repo2.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml



My other co-workers have not reported seeing this issue yet. Any ideas on
why maven 3.0.3 is having this problem when maven 2.2.1 does not?

FYI, we have a corporate proxy, not sure if that could be part of the
problem.

-Andrew


---------------------------------------------------------------------
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