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: Is rsync with central repo still possible?

2006-12-23 Thread Carlos Sanchez

Check at the end of
http://maven.apache.org/guides/mini/guide-mirror-settings.html
rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path

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


Rsyncing with ibiblio used to be possible using the following:

rsync -v -t -l -r ftp.ibiblio.org::maven2 .

However, now that the Maven repo has moved to Contegix, this command no
longer seems to work.  Now I get the following on OS X:

@ERROR: Unknown module 'maven2'
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at
/SourceCache/rsync/rsync-24/rsync/io.c(359)

Anyone know the command to rsync with the new central repo?

Thanks,

Matt
--
View this message in context: 
http://www.nabble.com/Is-rsync-with-central-repo-still-possible--tf2873629s177.html#a8031762
Sent from the Maven - Users mailing list archive at Nabble.com.


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





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride

-
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]



Is it possible to deploy a jar without rebuilding

2006-12-23 Thread Laura Hinojosa
Is it possible to deploy a jar without having to rebuild it?  Let's said that 
you have a jar, version 1.0.0-beta-3 that was deployed to a test repository.  
You have tested it very well, so you want to release that jar, without having 
to rebuild it.  Is it possible to rename the jar to version 1.0.1 and deploy it 
to the production repository?
 
Thanks for you help and Happy Holidays!!



This e-mail, and any attachments thereto, is confidential and is intended only 
for the individual(s) named.  If you are not the intended recipient, please let 
us know by e-mail reply and delete it from your system; do not copy/save this 
e-mail or disclose its contents to anyone.  E-mail transmissions cannot be 
guaranteed to be secure or error-free as the transmission could be interrupted, 
corrupted, lost, destroyed, altered, arrive late or contain viruses.  
ObjectWave does not accept liability for any errors or omissions in the 
contents of this e-mail which arise as a result of e-mail transmission.  The 
views expressed in this e-mail do not necessarily reflect those of ObjectWave 
or its affiliates.






Re: Is it possible to deploy a jar without rebuilding

2006-12-23 Thread Tom Huybrechts

Renaming the jar does not work, since the associated POM also has
embedded version information. An alternative is to move to 1.0.1
first, and deploy it to a staging repository, test it, and then copy
it over (there are tools that can do this).

Tom


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

Is it possible to deploy a jar without having to rebuild it?  Let's said that 
you have a jar, version 1.0.0-beta-3 that was deployed to a test repository.  
You have tested it very well, so you want to release that jar, without having 
to rebuild it.  Is it possible to rename the jar to version 1.0.1 and deploy it 
to the production repository?

Thanks for you help and Happy Holidays!!



This e-mail, and any attachments thereto, is confidential and is intended only 
for the individual(s) named.  If you are not the intended recipient, please let 
us know by e-mail reply and delete it from your system; do not copy/save this 
e-mail or disclose its contents to anyone.  E-mail transmissions cannot be 
guaranteed to be secure or error-free as the transmission could be interrupted, 
corrupted, lost, destroyed, altered, arrive late or contain viruses.  
ObjectWave does not accept liability for any errors or omissions in the 
contents of this e-mail which arise as a result of e-mail transmission.  The 
views expressed in this e-mail do not necessarily reflect those of ObjectWave 
or its affiliates.








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



Re: Installing Maven 2 repo reg.

2006-12-23 Thread Wendy Smoak

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


I am new to ActiveMQ. Am trying to install ActiveMQ 4.1.0 Release(Windows
Binary Installation) on my machine.
I have a doubt whether to install Maven 2 Repositories or not.

Please clafiry me whether its a manditory one.


Probably not, but you should consult the ActiveMQ docs, and then ask
on their user list if you have any questions.

http://incubator.apache.org/activemq/getting-started.html

http://incubator.apache.org/activemq/mailing-lists.html

--
Wendy

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



Error trying to use the maven-antrun plugin

2006-12-23 Thread Morgovsky, Alexander \(US - Glen Mills\)
Please make sure that your JAVA_HOME environment variable is set.  Also,
to make sure that this variable is correctly being resolved by doing
something like echo message=${env.JAVA_HOME}/.  You may also need to
add Java dependencies to your dependencies section of your maven-antrun
plugin definition, like the various JAR's found in %JAVA_HOME%\lib.
However, please start adding dependencies after trying to do what I
suggested if necessary.  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Is it possible to deploy a jar without rebuilding

2006-12-23 Thread Laura Hinojosa
Thank you!
 
Do you know what tools?
 
Laura



From: Tom Huybrechts [mailto:[EMAIL PROTECTED]
Sent: Sat 12/23/2006 8:48 AM
To: Maven Users List
Subject: Re: Is it possible to deploy a jar without rebuilding



Renaming the jar does not work, since the associated POM also has
embedded version information. An alternative is to move to 1.0.1
first, and deploy it to a staging repository, test it, and then copy
it over (there are tools that can do this).

Tom


On 12/23/06, Laura Hinojosa [EMAIL PROTECTED] wrote:
 Is it possible to deploy a jar without having to rebuild it?  Let's said that 
 you have a jar, version 1.0.0-beta-3 that was deployed to a test repository.  
 You have tested it very well, so you want to release that jar, without having 
 to rebuild it.  Is it possible to rename the jar to version 1.0.1 and deploy 
 it to the production repository?

 Thanks for you help and Happy Holidays!!

 

 This e-mail, and any attachments thereto, is confidential and is intended 
 only for the individual(s) named.  If you are not the intended recipient, 
 please let us know by e-mail reply and delete it from your system; do not 
 copy/save this e-mail or disclose its contents to anyone.  E-mail 
 transmissions cannot be guaranteed to be secure or error-free as the 
 transmission could be interrupted, corrupted, lost, destroyed, altered, 
 arrive late or contain viruses.  ObjectWave does not accept liability for any 
 errors or omissions in the contents of this e-mail which arise as a result of 
 e-mail transmission.  The views expressed in this e-mail do not necessarily 
 reflect those of ObjectWave or its affiliates.

 





-
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]

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]