Another plan is to make the whole it's deterministic as we're checking for available versions of things... in which case I'd provide the repo I need... but I don't want to fall into Oleg's plan of a 70MB repo for integration tests ;-)
2008/12/10 Stephen Connolly <[EMAIL PROTECTED]> > My intention is to have everything downloaded locally... I'm toying with > adding > > <mirrors> > <mirror> > <id>local</id> > <url>file:///@localRepository@</url> > <mirrorOf>*</mirrorOf> > </mirror> > </mirrors> > > To ensure that the tests run as fast as possible > > 2008/12/10 Benjamin Bentmann <[EMAIL PROTECTED]> > > Hi Stephen, >> >> Revision >>> 8336 <http://fisheye.codehaus.org/changelog/mojo/?cs=8336> >>> Author >>> stephenconnolly >>> Date >>> 2008-12-10 00:55:04 -0600 (Wed, 10 Dec 2008) >>> >>> >>> Log Message >>> >>> On a really clean system, or if you've blown your local repo away, the >>> integration tests will fail. Added the pre-integration profile which will >>> resolve all the dependencies into your local repo so that the fast mode of >>> integration-tests works >>> >>> >>> Modified Paths >>> >>> * trunk/mojo/versions-maven-plugin/pom.xml >>> <#trunkmojoversionsmavenpluginpomxml> >>> >>> >>> Added Paths >>> >>> * trunk/mojo/versions-maven-plugin/src/it/prep-settings.xml >>> <#trunkmojoversionsmavenpluginsrcitprepsettingsxml> >>> >>> >> from the plugin's src/it/settings.xml: >> >> <repositories> >> <repository> >> <id>central</id> >> <url>file:///@localRepository@</url> >> >> i.e. it's overriding the central repo instead of defining an additional >> repo (unlike done for <pluginRepositories> where the settings.xml uses the >> repo id "local.central"). >> >> So, unless it was your intention to override central in the first place, >> you should as well be able to solve the problem without an additional >> preparation step by just changing the repo id. >> >> >> Benjamin >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> >
