You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ty C <ty...@binary42.com> on 2004/12/08 20:04:15 UTC
Bug or feature? Error while retrieving from 2 repositories
(Thanks to the properties inheritance magic of Maven 1.0.2) In our
top-level project.properties file we have the following line:
maven.repo.remote=http://http://www.ibiblio.org/maven,http://
www.binary42.com/svn/maven
If I delete my ~/.maven/repositoryb42-3rdparty folder and subsequently
build using a reactor, I observe the following snippet amongst Mavens
output:
...
Attempting to download activation-1.3.1.jar.
Error retrieving artifact from
[http://http://www.ibiblio.org/maven/b42-3rdparty/jars/activation
-1.3.1.jar]: java.net.UnknownHostException: http
warning: last-modified not specified
53K downloaded
Attempting to download mail-1.3.1.jar.
Error retrieving artifact from
[http://http://www.ibiblio.org/maven/b42-3rdparty/jars/mail-1.3.1.jar]:
java.net.UnknownHostException: http
warning: last-modified not specified
298K downloaded
Attempting to download oncrpc-1.0.1.jar.
Error retrieving artifact from
[http://http://www.ibiblio.org/maven/b42-3rdparty/jars/oncrpc
-1.0.1.jar]: java.net.UnknownHostException: http
warning: last-modified not specified
375K downloaded
Attempting to download TableLayout-20031211.jar.
Error retrieving artifact from
[http://http://www.ibiblio.org/maven/b42-3rdparty/jars/TableLayout
-20031211.jar]: java.net.UnknownHostException: http
warning: last-modified not specified
119K downloaded
...
As you can see, the dependent jars are successfully downloaded, but I
wish to bring to your attention the doubling-up of the URL schema,
which apparently Java is then instructed to interpret as a URL and (in
the case of my network environment ;) correctly responds by throwing a
java.net.UnknownHostException.
Ty C
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org