Yeah I just checked the guide and you need a mirror. >From http://maven.apache.org/guides/mini/guide-mirror-settings.html:
You want to replace a particular repository with your own internal repository which you have greater control over On 1/12/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > I think you have to setup a mirror in your setting.xml files. This is > how we use Maven-Proxy so shoud be the same to use your own > repository. > > On 1/12/06, Paul Hepworth <[EMAIL PROTECTED]> wrote: > > Hi > > > > I'm trying to set up Maven for multiple users on a network not connected > > to the internet. > > I've run all the commands that we will need while connected to the net > > so that I have the plugins and dependencies downloaded. > > On a network drive //myserver/maven/repository I have placed all the > > downloaded dependencies and plugins. > > > > In POM.xml I have the following specified: > > ... > > <repositories> > > <repository> > > <snapshots> > > <enabled>false</enabled> > > </snapshots> > > <id>central</id> > > <name>Maven Repository Switchboard</name> > > <url>file:////myserver/maven/repository</url> > > </repository> > > </repositories> > > <pluginRepositories> > > <pluginRepository> > > <releases> > > <enabled>true</enabled> > > <updatePolicy>never</updatePolicy> > > </releases> > > <snapshots> > > <enabled>false</enabled> > > </snapshots> > > <id>central</id> > > <name>Maven Plugin Repository</name> > > <url>file:////myserver/maven/repository</url> > > </pluginRepository> > > </pluginRepositories> > > ... > > > > However, when I run mvn install it can't find the plugins to download. > > If I copy the org directory from my repository to my local repository, > > everything works fine and all the additional plugins and dependencies > > are downloaded from the network repository. > > > > Is there a trick I'm missing? I really don't want all the users to have > > to create a .m2/repository directory and copy the org directory to it > > before they can use Maven. > > > > Any suggestions?? > > > > Thanks > > Paul > > > > > > > > This message should be regarded as confidential. If you have received this > > email in error please notify the sender and destroy it immediately. > > Statements of intent shall only become binding when confirmed in hard copy > > by an authorised signatory. The contents of this email may relate to > > dealings with other companies within the Detica Group plc group of > > companies. > > > > Detica Limited is registered in England under No: 1337451. > > > > Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, > > England. > > > > > > > > > > > -- > Alexandre Poitras > Québec, Canada > -- Alexandre Poitras Québec, Canada --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
