RE: sets repository in settings.xml?

2006-12-23 Thread jiangshachina

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]



Re: sets repository in settings.xml?

2006-12-23 Thread mylene

Hi,

In maven1 you can set -Dmaven.repo.remote (not very surprising). In
maven2 AFAIK you have to set it in the POM.

Mylene

On 12/23/06, jiangshachina [EMAIL PROTECTED] wrote:


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]





--
Mylene

Books just wanna be FREE! See what I mean at:
http://bookcrossing.com/friend/mylene

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: sets repository in settings.xml?

2006-12-23 Thread jiangshachina

Well, thanks!

a cup of Java, cheers!
Sha Jiang


mylene wrote:
 
 Hi,
 
 In maven1 you can set -Dmaven.repo.remote (not very surprising). In
 maven2 AFAIK you have to set it in the POM.
 
 Mylene
 
 On 12/23/06, jiangshachina [EMAIL PROTECTED] wrote:

 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]


 
 
 -- 
 Mylene
 
 Books just wanna be FREE! See what I mean at:
 http://bookcrossing.com/friend/mylene
 
 -
 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#a8039608
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]