I use project properties. Since project.properties is checked into the CVS along with the other files in the project, any changes are distributed to all of the other team members via CVS. In addition, I place the private repository in front of ibiblio for performance reasons.
maven.repo.remote=http://myhost/maven-dir,http://www.ibiblio.org/maven
Paul Spencer
Tim Stephenson wrote:
Not sure where the official doc is - somewhere on the site - but what we do is to set up a directory structure exactly like the local repo or remote repositories under some web-server published directory with just those internally-managed components in and then tell maven to look both in the public remote repo and in our own remote repo.
This last can be done several places but I tend to use a build.properties in the user.dir. The property will look something like the following:
maven.repo.remote = http://www.ibiblio.org/maven,http://myhost/maven-dir/
which tells maven to look first in the public remote repo and second in the private remote. Of course you could reverse the order for better performance than fetching everything from the public repo but I prefer to minimise the stuff maintained internally.
HTH, tim
On Fri, 25 Feb 2005 15:34:45 -0800, Rick Mann <[EMAIL PROTECTED]> wrote:
Where can I find information about how to set up my own, private repository? That is, within my company we want to switch to using Maven. We want to be able to get components from remote repositories, and we want to build components that go into a repository we maintain in-house.
I was able to find documentation for posting to public repositories, but not anything to tell me how to set up my own private remote repository.
TIA!
-- Rick
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]