I've suggested this settings.xml mirror approach multiple times, but it has not been an acceptable answer thus far. He wants to configure "everything" in the project pom.xml file, and nothing in settings.xml.
I think the answer for now is... What you want to do is not currently possible. Please feel free to contribute code to make it possible for future versions of M2. Wayne On 4/11/06, Gareth Western <[EMAIL PROTECTED]> wrote: > 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). > >