So honestly - why does maven go to the remote server for the pom but then takes everything else from the specified "local" repository?
-----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 4:29 PM To: Maven Users List Subject: Re: Internal (intranet) repositories Sounds like a good candidate for a UPromise-specific Maven2 installer made through something like InstallAnywhere Now or IzPack (http://www.izforge.com/izpack/). Just include the settings.xml file in the install bundle. And then for more fun, block repo1.maven.org in your corporate firewall, to keep rogue developers from modifying their settings.xml file. Wayne On 4/11/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: > I won't work out the settings.xml file - this change must apply to all. > > Mgmt has asked specifically to disallow maven to down load > automatically. > > > > -----Original Message----- > From: Gareth Western [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 11, 2006 3:06 PM > To: Maven Users List > Subject: Re: Internal (intranet) repositories > > Hi EJ, > > Apologies if this has already been suggested (I've already deleted most > of > this thread), but have you tried adding the following to a file named " > settings.xml" in your ${user.home}\.m2 directory (e.g. "C:\documents and > settings\gareth\.m2\settings.xml"): > > <settings> > <mirrors> > <mirror> > <id>my-repo</id> > <name>Internal mirror of > http://build.corp.upromise.com/mavenrepository > </name> > <url>http://build.corp.upromise.com/mavenrepository</url> > <mirrorOf>central</mirrorOf> > </mirror> > </mirrors> > </settings> > > ? > > If you do that you shouldn't have to add anything to project POM > (although > it does rely on each user having a "settings.xml" with these settings in > it). > > --------------------------------------------------------------------- > 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]
