Hi,

Proximity http://proximity.abstracthorizon.org/ should be the answer to your 
needs.
It acts as a cache/proxy server for common public repositories (ibiblio & cie) 
and for company wide repository.
So you could establish a maven architecture internally to store private 
artifact.
For a brief introduction go on :
http://proximity.abstracthorizon.org/about-proximity.html

Remy



> -----Message d'origine-----
> De : Adam Perry-Pelletier [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 24 octobre 2006 21:03
> À : [email protected]
> Objet : Creating a common local repository.
> 
> 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
> 
> 
-------------------------------------------------------------------------------------------
"Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you."
**********************************************************************


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

Reply via email to