It's correct. remote : remote repository where jars are download local : local repository where maven save jars for use it in applications/plugins central : host address accessible via ssh via deploy plugin for upload jar in your remote repository
maven.repo.central is used if siteAddress is undefined in your project. Emmanuel -----Message d'origine----- De: John Casey <[EMAIL PROTECTED]> A: Turbine Maven Users List <[EMAIL PROTECTED]> Date: 13/12/02 Objet: Re: Is it possible to have an extra remote repository? The way I understand it, the central settings are for uploading built jars to a repository. The remote and local settings are for downloading dependencies at build-time...but I may be wrong. BTW, thanks for the tip on that hack...I'm looking into it. John On Fri, 2002-12-13 at 11:28, Colin Sampaleanu wrote: > Thanks for the info, it's appreciated. I am not 100% clear on the > difference between maven.repo.remote, maven.repo.central, and > maven.repo.local. The docs only mention local and central, while your > properties file has central and remote. > > I presume local overrides the defualt local repo that is normally in the > MAVEN_HOME location. Does remote override the default (ibiblio) remote > location, and central set another repo that is checked in-between, so > the sequence for checking is: > local > central > remote > ? > > btw, I note that http://www.commonjava.org/repo/ (listed in your props > file) has been hit by the IIS worm, sigh... > ---- > ... > Welcome to http://www.worm.com ! > > Hacked By Chinese! > ---- > > > > John Casey wrote: > > >Definitely possible. The issue is twofold: one is downloading from the > >additional repository during a build, and the other is (potentially) > >building a library to the additional repository. > > > >I'm including my /home/jdcasey/build.properties file to give you a head > >start. Essentially, the remote repository is a comma-delimited list of > >sites. I'm not sure if the overloading of the default site is > >intelligent enough to merge this property, or if you have to respecify. > >I haven't tried the former, only specified the latter because I was in a > >hurry... > > > >Cheers, > >John > > > > > >On Fri, 2002-12-13 at 11:07, Colin Sampaleanu wrote: > > > > > >>I am trying to set up Maven (CVS) with multiple, inter-related projects. > >> > >>Is it possible to set up Maven so that it still hits ibiblio for jars > >>listed in dependencies, but also tries to hit another remote repository > >>as well? There are some jars, for example an oracle jdbc thin driver, > >>which I would rather not have to force each developer to download and > >>place into their local maven repository manually. It is much easier for > >>the project administrator to keep another repository up to date with > >>these kinds of dependencies... > >> > >>Regards, Colin > >> > >> > >> > >>-- > >>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > >> > >> > >> > > > > > > > >----------------------------------------------------------------------- - > > > ># Build Properties > >lib.repo=/usr/java/jars > >maven.home=/usr/local/jakarta/maven > > > >maven.repo.central=server > >maven.repo.central.directory=/usr/local/jetty/current/webapps/repo > >maven.repo.remote=http://www.commonjava.org/repo,\ > > http://www.ibiblio.org/maven > > > >maven.username=jdcasey > > > > > > > > > >----------------------------------------------------------------------- - > > > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> _____________________________________________________________________ GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321 (prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagn�. R�glement : http://www.ifrance.com/_reloc/sign.sms _____________________________________________________________________ GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321 (prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagn�. R�glement : http://www.ifrance.com/_reloc/sign.sms -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
