I use this command to download:

rsync -avz http://repo1.maven.org/maven2/ ./

and got the error:

http: Unknown Host
rsh.exe: can't establish connection
rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at
/tmp/rsync-2.5.6/io.c(177)


Wayne Fay wrote:
> 
> For the repo1.maven.org repo, you should use rsync to pull it down.
> But realistically, this is very bad idea, as "central" is like 10gb
> and 98% of it is stuff you will never use. So you will spend an
> enormous amount of time, bandwith, and disk space for things you don't
> need.
> 
> Instead, you should consider a proxy/repo solution like Archiva,
> Proximity, etc.
> 
> Wayne
> 
> On 3/7/08, youhaodeyi <[EMAIL PROTECTED]> wrote:
>>
>> Can I download all the packages from a remote repository to my local
>> repository? For example, there is a repository:
>> http://repo1.maven.org/maven2/,  I want to download all the content to my
>> local repository. I want to do this for that I have limitation for
>> accessing
>> Internet, so I need to do this one time to get as much packages as
>> possible.
>> --
>> View this message in context:
>> http://www.nabble.com/How-can-I-download-all-the-packages-from-a-remote-repository--tp15910759s177p15910759.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-can-I-download-all-the-packages-from-a-remote-repository--tp15910759s177p15911327.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to