Hi,

If you named it "central" then it would override ibiblio.

As for sharing it - you can create a shared maven installation, in
which the repo is defined (via m2/conf/settings.xml)

On 10/19/05, Pete Thomas <[EMAIL PROTECTED]> wrote:
> I am trying to use M2 but want to use a shared filesystem repository
> where all JARS come from, with no internet access.
>
> So have read the Maven2
> http://maven.apache.org/maven2/guides/mini/guide-multiple-repositories.html
> guide I added this to my
>
> POM.xml
>
> <repositories>
>   <repository>
>     <id>team-share-repo</id>
>     <name>shared m2 repository to avoid needing internet access</name>
>      <url>file:///central/.m2/repository</url>
>  </repository>
> </repositories>
>
> However it still goes out to the internet to get missing JARs.
>
> The guides seem to advise not putting this in settings.xml which I can
> see is more of a user setting.
>
> ---------------------------------------------------------------------
> 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]

Reply via email to