You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by li frank <fr...@gmail.com> on 2007/10/17 12:56:13 UTC

how to get the maven repository to local machine?

Hi all,

I want to get the central repository using rsync from several
mirrors,like *rsync
-v -t -l -r mirrors.ibiblio.org::maven2*,
but it give me  message as following:

receiving file list ... rsync: opendir "/ch/hortis/sonar/sonar-web" (in
maven2)
failed: Permission denied (13)
rsync: opendir "/ch/hortis/sonar/sonar-maven-plugin/1.0-beta" (in maven2)
failed
: Permission denied (13)
rsync: opendir "/ch/hortis/sonar/sonar-commons/1.0-beta" (in maven2) failed:
Per
mission denied (13)
rsync: opendir "/ch/hortis/sonar/sonar-application" (in maven2) failed:
Permissi
on denied (13)
rsync: opendir "/ch/hortis/sonar/db-maven-plugin" (in maven2) failed:
Permission
 denied (13)
rsync: opendir "/ch/hortis/sonar/sonar/1.0-beta" (in maven2) failed:
Permission
denied (13)
rsync: opendir "/ch/hortis/sonar/sonar-core" (in maven2) failed: Permission
deni
ed (13)
rsync: opendir "/ch/hortis/sonar/sonar-db-embedder" (in maven2) failed:
Permissi
on denied (13)


why occor this problem?
how can i get all the files in the maven central repository?

i'm appreciate your help.

RE: how to get the maven repository to local machine?

Posted by ni...@planet.nl.
The total repository is around 10 GB. You know the preferred way of setting up a mirror is by using one of the available proxy servers? You can use archiva, artifactory or proximity for this.

http://maven.apache.org/archiva/
http://proximity.abstracthorizon.org/ 
http://www.jfrog.org/sites/artifactory/latest/

Hth,

Nick Stolwijk

-----Original Message-----
From: li frank [mailto:frank.bo.lee@gmail.com]
Sent: Thu 10/18/2007 9:36 AM
To: Maven Users List
Subject: Re: how to get the maven repository to local machine?
 
i want to create my own mirror.

On 10/18/07, Brett Porter <br...@gmail.com> wrote:
>
> The problem is a permission problem on your own machine, since those
> directories don't exist on the remote server.
>
> On 17/10/2007, li frank <fr...@gmail.com> wrote:
> > Hi all,
> >
> > I want to get the central repository using rsync from several
> > mirrors,like *rsync
> > -v -t -l -r mirrors.ibiblio.org::maven2*,
> > but it give me  message as following:
> >
> > receiving file list ... rsync: opendir "/ch/hortis/sonar/sonar-web" (in
> > maven2)
> > failed: Permission denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-maven-plugin/1.0-beta" (in
> maven2)
> > failed
> > : Permission denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-commons/1.0-beta" (in maven2)
> failed:
> > Per
> > mission denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-application" (in maven2) failed:
> > Permissi
> > on denied (13)
> > rsync: opendir "/ch/hortis/sonar/db-maven-plugin" (in maven2) failed:
> > Permission
> >  denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar/1.0-beta" (in maven2) failed:
> > Permission
> > denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-core" (in maven2) failed:
> Permission
> > deni
> > ed (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-db-embedder" (in maven2) failed:
> > Permissi
> > on denied (13)
> >
> >
> > why occor this problem?
> > how can i get all the files in the maven central repository?
> >
> > i'm appreciate your help.
> >
>
>
> --
> Brett Porter
> Blog: http://www.devzuz.org/blogs/bporter/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


Re: how to get the maven repository to local machine?

Posted by li frank <fr...@gmail.com>.
i want to create my own mirror.

On 10/18/07, Brett Porter <br...@gmail.com> wrote:
>
> The problem is a permission problem on your own machine, since those
> directories don't exist on the remote server.
>
> On 17/10/2007, li frank <fr...@gmail.com> wrote:
> > Hi all,
> >
> > I want to get the central repository using rsync from several
> > mirrors,like *rsync
> > -v -t -l -r mirrors.ibiblio.org::maven2*,
> > but it give me  message as following:
> >
> > receiving file list ... rsync: opendir "/ch/hortis/sonar/sonar-web" (in
> > maven2)
> > failed: Permission denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-maven-plugin/1.0-beta" (in
> maven2)
> > failed
> > : Permission denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-commons/1.0-beta" (in maven2)
> failed:
> > Per
> > mission denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-application" (in maven2) failed:
> > Permissi
> > on denied (13)
> > rsync: opendir "/ch/hortis/sonar/db-maven-plugin" (in maven2) failed:
> > Permission
> >  denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar/1.0-beta" (in maven2) failed:
> > Permission
> > denied (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-core" (in maven2) failed:
> Permission
> > deni
> > ed (13)
> > rsync: opendir "/ch/hortis/sonar/sonar-db-embedder" (in maven2) failed:
> > Permissi
> > on denied (13)
> >
> >
> > why occor this problem?
> > how can i get all the files in the maven central repository?
> >
> > i'm appreciate your help.
> >
>
>
> --
> Brett Porter
> Blog: http://www.devzuz.org/blogs/bporter/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: how to get the maven repository to local machine?

Posted by Brett Porter <br...@gmail.com>.
The problem is a permission problem on your own machine, since those
directories don't exist on the remote server.

On 17/10/2007, li frank <fr...@gmail.com> wrote:
> Hi all,
>
> I want to get the central repository using rsync from several
> mirrors,like *rsync
> -v -t -l -r mirrors.ibiblio.org::maven2*,
> but it give me  message as following:
>
> receiving file list ... rsync: opendir "/ch/hortis/sonar/sonar-web" (in
> maven2)
> failed: Permission denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar-maven-plugin/1.0-beta" (in maven2)
> failed
> : Permission denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar-commons/1.0-beta" (in maven2) failed:
> Per
> mission denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar-application" (in maven2) failed:
> Permissi
> on denied (13)
> rsync: opendir "/ch/hortis/sonar/db-maven-plugin" (in maven2) failed:
> Permission
>  denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar/1.0-beta" (in maven2) failed:
> Permission
> denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar-core" (in maven2) failed: Permission
> deni
> ed (13)
> rsync: opendir "/ch/hortis/sonar/sonar-db-embedder" (in maven2) failed:
> Permissi
> on denied (13)
>
>
> why occor this problem?
> how can i get all the files in the maven central repository?
>
> i'm appreciate your help.
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

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


Re: how to get the maven repository to local machine?

Posted by Henry Isidro <hi...@exist.com>.
May I ask why you would want to do this?

On 10/17/07, li frank <fr...@gmail.com> wrote:
>
> Hi all,
>
> I want to get the central repository using rsync from several
> mirrors,like *rsync
> -v -t -l -r mirrors.ibiblio.org::maven2*,
> but it give me  message as following:
>
> receiving file list ... rsync: opendir "/ch/hortis/sonar/sonar-web" (in
> maven2)
> failed: Permission denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar-maven-plugin/1.0-beta" (in maven2)
> failed
> : Permission denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar-commons/1.0-beta" (in maven2)
> failed:
> Per
> mission denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar-application" (in maven2) failed:
> Permissi
> on denied (13)
> rsync: opendir "/ch/hortis/sonar/db-maven-plugin" (in maven2) failed:
> Permission
> denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar/1.0-beta" (in maven2) failed:
> Permission
> denied (13)
> rsync: opendir "/ch/hortis/sonar/sonar-core" (in maven2) failed:
> Permission
> deni
> ed (13)
> rsync: opendir "/ch/hortis/sonar/sonar-db-embedder" (in maven2) failed:
> Permissi
> on denied (13)
>
>
> why occor this problem?
> how can i get all the files in the maven central repository?
>
> i'm appreciate your help.
>