You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by William Ferguson <Wi...@yarris.com> on 2007/04/10 01:28:12 UTC

RE: [NEWSENDER] - Re: maven-release-plugin getiing SCM values - Message is from an unknown sender

Sorry Emmanuel,

My post *should* have read :

1) If the SCM user/password has NOT been been explicitly configured in 
your POM or Settings, how does the maven-release-plugin discover the 
username/password of the current user ...

With regards to determining the revision that is tagged, I need the actual revision number as this needs to be part of the vaolue stamped into the subclipse:tags property. So I should interrogate the working copy for its revision?


William

 

-----Original Message-----
From: Emmanuel Venisse [mailto:emmanuel@venisse.net] 
Sent: Thursday, 5 April 2007 5:40 PM
To: Maven Users List
Subject: [NEWSENDER] - Re: maven-release-plugin getiing SCM values - Message is from an unknown sender



William Ferguson a écrit :
> Can someone please enlighten me on
>  
> 1) If the SCM user/password has been been explicitly configured in 
> your POM or Settings, how does the maven-release-plugin discover the 
> username/password of the current user to supply to the SCM Eg 
> Subversion)? I need this becxause my plugin will have to use javaSVN 
> and needs to authenticate.

It should be in the scm url.

>  
> 2) How do you determine the revision of the code that the 
> maven-release-plugin will tag? I assume the head but a check-in could 
> have occured since the maven-release-plugin took a copy for the tag.

We tag the working copy, so the code you release will be the code tagged.

Emmanuel


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [NEWSENDER] - Re: maven-release-plugin getiing SCM values - Message is from an unknown sender

Posted by Emmanuel Venisse <em...@venisse.net>.
I don't know how JavaSVN store username/password but I think it use the subversion registry too, so if you're already authenticated on the svn server from this computer, you won't need username/password.
If you want to set explicitly the username/password, you can set them in the release plugin:
mvn release:prepare -Dusername=USERNAME -Dpassword=PASSWORD

Emmanuel

William Ferguson a écrit :
> Sorry Emmanuel,
> 
> My post *should* have read :
> 
> 1) If the SCM user/password has NOT been been explicitly configured in 
> your POM or Settings, how does the maven-release-plugin discover the 
> username/password of the current user ...
> 
> With regards to determining the revision that is tagged, I need the actual revision number as this needs to be part of the vaolue stamped into the subclipse:tags property. So I should interrogate the working copy for its revision?
> 
> 
> William
> 
>  
> 
> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net] 
> Sent: Thursday, 5 April 2007 5:40 PM
> To: Maven Users List
> Subject: [NEWSENDER] - Re: maven-release-plugin getiing SCM values - Message is from an unknown sender
> 
> 
> 
> William Ferguson a écrit :
>> Can someone please enlighten me on
>>  
>> 1) If the SCM user/password has been been explicitly configured in 
>> your POM or Settings, how does the maven-release-plugin discover the 
>> username/password of the current user to supply to the SCM Eg 
>> Subversion)? I need this becxause my plugin will have to use javaSVN 
>> and needs to authenticate.
> 
> It should be in the scm url.
> 
>>  
>> 2) How do you determine the revision of the code that the 
>> maven-release-plugin will tag? I assume the head but a check-in could 
>> have occured since the maven-release-plugin took a copy for the tag.
> 
> We tag the working copy, so the code you release will be the code tagged.
> 
> Emmanuel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org