On 15/07/2010, at 11:58 PM, Charles Brown wrote: > That is, maven claims to have tried internal, but it didn't, really. It hit > external twice. > > My repository configuration is detailed below. What am I doing wrong? > > My maven is > > Apache Maven 2.2.1 (rdebian-1) > Java version: 1.6.0_20 > > My settings.xml has > > <mirrors> > <mirror> > <id>external</id> > <url>http://path/to/my/repository/external/</url> > <mirrorOf>external:*</mirrorOf> > </mirror> > </mirrors>
You've mapped all repositories to external here. Note that "external:*" doesn't have any correlation to your IDs, it just means "any that aren't file://...". try <mirrorOf>external:*,!internal</mirrorOf> instead, or set up a repository manager at the mirror location and have it manage requests between the two. - Brett -- Brett Porter [email protected] http://brettporter.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
