Hello, Thanks for the reply. I know that we can set local repository(-Dmaven.repo.local=xxx) at command line, then can I set remote repository(e.g. repository.codehaus.org) at command? Thanks!
a cup of Java, cheers! Sha Jiang Mohni, Daniel wrote: > > Hello Sha Jiang > > Answers inline... > >> -----Original Message----- >> From: jiangshachina [mailto:[EMAIL PROTECTED] >> Sent: Thursday, December 21, 2006 4:46 AM >> To: users@maven.apache.org >> Subject: sets repository in settings.xml? >> >> >> Hi guys, >> Can I set a third-part repository in settings.xml? >> Then I can use it as a "global" repository. > > of course... > > it is described for archiva over here: > http://maven.apache.org/archiva/guides/getting-started/maven-configurati > on.html > > but you can setup any repository you want in settings.xml > > you then only have to deploy the settings.xml to all developers > in the team... > > Regards > > Daniel > >> >> Thanks in advance! >> >> a cup of Java, cheers! >> Sha Jiang >> -- >> View this message in context: >> http://www.nabble.com/sets-repository-in-settings.xml--tf28635 > 99s177.html#a8002418 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/sets-repository-in-settings.xml--tf2863599s177.html#a8032886 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]