You might try to avoid the mirror all together. Instead of mirroring central, change the url in a profile to be what you want it to be. There's no good way to change the mirror url if the property didn't work.
-----Original Message----- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 7:25 AM To: Maven Users List Subject: how to configure a mirror? Hi, I am trying to configure a mirror. We have development teams around the world so I would like to be able to configure the central mirror with a property that would be define in a profile for instance (developers may travel around so they need to use the closest mirror). We can't set a mirror in a profile. I tried to do something like <mirrors> <mirror> <id>internal</id> <name>Releases - Liege repository</name> <url>${internal.url}</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> And define internal.url in a profile that is in the activeProfiles section of the settings but it did not replaced the value. Any solution to this problem? Thanks, Stéphane -- Large Systems Suck: This rule is 100% transitive. If you build one, you suck" -- S.Yegge --------------------------------------------------------------------- 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]
