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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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]