Hi David,

One common trick is to co-locate your continuous integration tool, e.g. 
Continuum, CruiseControl, etc, and your internal repository.  Say you have 
Continuum running as user, 'dave', and you also have Apache running on the same 
box.  (I'm assuming a Linux environment here).  An easy way to create an 
automatically populated internal repository is to create a symlink beneath 
Apache's docroot to dave's local repo, e.g.

  ln -s ~dave/.m2/repository /var/www/html/repository

With this setup, you don't have to manually deploy your internal artifacts 
since the CI tool is going to do that anyway.

Jim


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Fri 4/20/2007 8:32 AM
To: users@maven.apache.org
Subject: Maven Repository Question
 
Hi Everyone,

I'm pretty new to maven and have a repository question.  I have set up a 
internal repository that will hold the artifacts from ibiblio that my 
project needs.  My question is how do I make maven update / download new 
required dependencies to the internal repository instead of the local 
repository?

In other words if I add a dependency to pom and if maven can't find it in 
the local or the internal repositories and has to pull it from ibiblio, I 
would like that new dependency to be downloaded to the internal repository 
and then to the local repository.  Any help you can provide would be 
greatly appreciated.

Thanks,

David


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

Reply via email to