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]>

Reply via email to