Thanks, the global <mirrorOf>*</mirrorOf> is exactly the bullet-proof internet decoupling mechanisme I was looking for :-)
Greg_Vaughn wrote: > > "Mikis" <[EMAIL PROTECTED]> wrote on 03/09/2007 07:17:32 AM: > >> >> I have being struggling with problems regarding dependencies on > apparently >> released artifacts (not snapshots), which contain snapshot or faulty >> dependencies (maybe transitive). If the artifacts also define their own >> remote repositories, I'm unable to fix the problem by patching the > intranet >> or proxy repository, as this are circumvented . >> >> Is it possible to prevent Maven from downloading artifacts from Internet >> repositories using the intranet/proxy repository as the only remote >> repository? One way of doing this would be to define some kind of > repository >> whitelist defining the intranet repositories allowed. The offline line >> option is not quite what I need as this would prevent usage of the > intranet >> repositories. >> >> I fell I'm currently unable to guarantee my intranet Maven users that a >> fully version controlled dependency definition in the poms will ensure a >> fixed dependency tree (broken configuration management :-( ). > > I have not verified this, but I recall 2.0.5 was to have a new feature so > that in settings.xml you could specify a repository as a > <mirrorOf>*</mirrorOf> for just this sort of situation. Sorry I can't give > more specific advice, but that may head you down the right path. > > -Greg Vaughn > > ====================================================================== > Confidentiality Notice: The information contained in and transmitted with > this communication is strictly confidential, is intended only for the use > of the intended recipient, and is the property of Countrywide Financial > Corporation or its affiliates and subsidiaries. If you are not the > intended recipient, you are hereby notified that any use of the > information contained in or transmitted with the communication or > dissemination, distribution, or copying of this communication is strictly > prohibited by law. If you have received this communication in error, > please immediately return this communication to the sender and delete the > original message and any copy of it in your possession. > ====================================================================== > > -- View this message in context: http://www.nabble.com/Preventing-transitive-snapshot-downloading-tf3375610s177.html#a9414232 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
