You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Trummer <ma...@24act.com> on 2009/03/04 15:03:39 UTC

Unable to download the artifact from any repository

hi,

we just ran into an issue where maven suddenly did not work on a
computer and the build failed with messages like:
>Reason: Unable to download the artifact from any repository

it took us quite a while to find out that downloading succeeded, but the
real problem was, that maven failed to write to the local repository
in our case the local repository resides somewhere on the C: drive, but
the directory is mapped to a virtual drive (using the windows SUBST
command) - the developer just forgot to mount this virtual dirve at
startup - which lead to the problem described above.

I think maven should improve the errormessage in this case

maybe this post will help someone else:
or even myself, because by next week I'll aready have forgotten about
this again :)

cheers, 
	martin

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


Re: Unable to download the artifact from any repository

Posted by Brett Porter <br...@apache.org>.
This has been fixed in 2.1.0 (about to go into testing) already.

Cheers,
Brett

On 05/03/2009, at 1:03 AM, Martin Trummer wrote:

> hi,
>
> we just ran into an issue where maven suddenly did not work on a
> computer and the build failed with messages like:
>> Reason: Unable to download the artifact from any repository
>
> it took us quite a while to find out that downloading succeeded, but  
> the
> real problem was, that maven failed to write to the local repository
> in our case the local repository resides somewhere on the C: drive,  
> but
> the directory is mapped to a virtual drive (using the windows SUBST
> command) - the developer just forgot to mount this virtual dirve at
> startup - which lead to the problem described above.
>
> I think maven should improve the errormessage in this case
>
> maybe this post will help someone else:
> or even myself, because by next week I'll aready have forgotten about
> this again :)
>
> cheers,
> 	martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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