Hi Stefan,
i found the reason.
Last year i added "PlanetMirror.com" as an additional mirror to our maven-proxy
config, because of
some problems i removed it some weeks later. The really weird thing was, that
this mirror didn't
respond with an http error 404, but with an html page. And therefor the
maven-proxy saved this html
page as xxx-sources.jar file, containing just ascii data. I recognized this
during my tests with the
dependency plugin a few days ago, so thanks for this nice tool.
After i deleted this corrupted jar files, m2eclipse plugin is now able to
download and integrate the
source files into the projects.
Thanks again for Your reply
Roland
VUB Stefan Seidel schrieb:
Hi,
have you verified that it is really an infinite loop? Sometimes the same
messages just appear many times in a row.
Have you tried to run "dependency:go-offline" or just "install"? Maven
should download everything it needs then.
Stefan
Am Mittwoch, den 28.03.2007, 13:33 +0200 schrieb Roland Klein:
Hi all,
i am using m2eclipse v.0.0.11-rev.231 on a W2K system with maven 2.0.5.
If i enable download sources in the preferences dialog, and do a clean rebuild of a project, then
the plugin tries to download the source artifacts from our remote repository (maven-proxy).
But during the rebuild the plugin get get caught in an infinite loop trying to
download the artifact.
So i tried to get the artifact by hand and made a wget for i.e. commons-lang-2.3 against our
maven-proxy, and it worked the proxy got the artifact from ibiblio and returned it to my workstation.
My question now is, how can i force maven to download the source/javadoc
artifacts from the commandline?
I tried dependency:sources but this didn't work, because it didn't download the
artifacts.
Am i right, that the maven cli using the maven embedder?
Then this should be possible
Roland
--
Roland Klein
Tel: +49 40 65803 209
Fax: +49 40 65803 392
[EMAIL PROTECTED]
MTG Marinetechnik GmbH - Wandsbeker Koenigstr. 62 - D 22041 Hamburg
GF Dipl.-Ing. Ullrich Keil
Handelsregister: Abt. B Nr. 11 500 - Amtsgericht Hamburg Abt. 66
USt.-IdNr.: DE 1186 70571
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email