Someone else may correct me if I'm wrong, but I believe that plugin dependencies are retrieved from the "plugin" repository which is a different section in the pom. At least this looks like the behavior that I have seen.
So you might try specifying a plugin repository as well that points to your central repository. The only hitch to this is that you would have to ensure that any plugins you use, and their dependencies are also in your central repo Mark Russell -----Original Message----- From: Pete Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 8:38 AM To: Maven Users List Subject: Re: Remote shared repository in M2 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.h tml > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
