Hi Arik,
I have tried changing the name to 'central' (lowercase) - no
difference unfortunately.
Even tried a fuller spec, like the super POM entry ?
<repositories>
<repository>
<id>central</id>
<name>Maven Repository Switchboard</name>
<layout>default</layout>
<url>file:///central/.m2/repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
but it's still trying to connect, output has :-
"From the specified remote repositories:
central (http://www.ibiblio.org.maven2)
snapshots (http://snapshots.maven.codehaus.org/maven2)"
On 19/10/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> 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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]