That's a common situation. We have installed MavenProxy on a server in our company. This acts as a cache of artifacts from ibiblio, but also has a separate internal repository where we deploy artifacts that are not in ibiblio. My understanding is that MavenProxy is no longer being actively developed. Other tools I've heard mentioned as performing similar functions are Proximity and Archiva. I've not looked at those, but they're on my to-do list.
Greg Vaughn [EMAIL PROTECTED] "Adam Perry-Pelletier" <[EMAIL PROTECTED]> wrote on 10/24/2006 02:03:26 PM: > While experimenting with Maven2 I experienced the following error: > > > > Missing: > > ---------- > > 1) jsr170:jcr:jar:1.0 > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId=jsr170 -DartifactId=jcr \ > > -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file > > > > Path to dependency: > > 1) com.moesol.bv:BattlespaceVideo:jar:1.0-SNAPSHOT > > 2) jsr170:jcr:jar:1.0 > > > > So I took the error message's advice and did the "mvn install:install-file > .". That fixed the problem and patched my local repository. However this > leads sort an uncomfortable situation. If I have 15 developers on my team I > now have to notify them to manually patch their repositories and answer > their queries about how "I broke the build." Not a tolerable situation. > > > > So what I'd like to do is this. I'd like to host a maven repository on our > server (linux running apache and ssh). However I don't want it to be a > full-blown rsynch'ed repository that mirrors www.ibiblio.org/maven2. I want > the repository to be just like my local repository in that it has only the > jars that our project needs, but one that I can point all our development > team to. So when I come across this problem in the future, I can go out to > that one shared, but local and minimal, repository do the "mvn > install:install-file" and all our developers will see the change. Although > I can find docs on how to accomplish the rsynch'ed full mirror repository > model, I can't find much about how to have a local repository that can be > shared. In terms of layout, our developers develop on windows supplemented > by cygwin and the available server would be a linux box with apache web > server and ssh. > > > > Any help would be appreciated. > > > > Adam > ====================================================================== Confidentiality Notice: The information contained in and transmitted with this communication is strictly confidential, is intended only for the use of the intended recipient, and is the property of Countrywide Financial Corporation or its affiliates and subsidiaries. If you are not the intended recipient, you are hereby notified that any use of the information contained in or transmitted with the communication or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please immediately return this communication to the sender and delete the original message and any copy of it in your possession. ======================================================================
