I wrote some docs on this, outlining how you can use SCM in concert with maven builds and releases. Maybe there's something in there of interest.

http://wiki.ucalgary.ca/page/LearningCommons/Documentation/ Project_Versioning_-_Best_Practices

The SCM password is actually in your .svn folder in your working copy (for subversion), and in your ~/.cvspass for CVS. So once your project is successfully checked out, you don't need to specify your password anywhere else, AFAIK.

J

On 31-Jan-06, at 7:13 AM, Alejandro Nicolas Mascarell wrote:

Don't worry. I would like to prepare some docs about the subject (Maven 2 and Subversion) for beginners. I'll make you know if I finally complete it.

Another question... where is the SCM user password provided when using SCM url? As from the specification (and checked on svnScmProviderRepository class) the password is not gathered for the URL, as in the case on CVS. I have checked whether the password was taken from settings.xml file but it
seems it is not the case.

Alex

On 1/31/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:

I don't think some docs exists somewhere about it, sorry.

Emmanuel

Alejandro Nicolas Mascarell a écrit :
Thanks for your quick answer! ;)

Regarding the space before "-DtabBase", you know... issues of copy &
paste
from command line. :$

Do you know whether best practices information about Maven 2 integration
with SCM exist somewhere?

Regards,
Alex

On 1/31/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:

1- you need a space before "-DtagBase" ;-)
2- tagbase is a svn url ant not a maven scm url, so replace your tagBase
with
svn://localhost/CVS/maven-deployment/tags

You can use Nabble to search in ML archives (
http://www.nabble.com/forum/Search.jtp?query=maven)

Emmanuel

Alejandro Nicolas Mascarell a écrit :

I would appreciate your help to troubleshoot the following error. I

can't

figure out why it is not working. I have try in several ways with the

same

result.

Command:
mvn release:prepare -



Dproject.scm.developerConnection=scm:svn:svn://localhost/CVS/maven- deployment/trunk-DtagBase=scm:svn:svn://localhost/CVS/maven- deployment/tags

Result:
[INFO] Tagging release with the label 1.0.
Provider message:
The svn tag command failed.
Command output:
svn: Error resolving case of
'scm:svn:svn:\localhost\CVS\maven-deployment\tags\1.0'

POM.xml fragment:
   <scm>



<developerConnection>scm:svn:svn://localhost/CVS/maven- deployment/trunk</developerConnection>

   </scm>
   <build>
       <plugins>
           <plugin>
               <artifactId>maven-release-plugin</artifactId>
               <configuration>

<tagBase>scm:svn:svn://localhost/CVS/maven-deployment/tags</ tagBase>
               </configuration>
           </plugin>
       </plugins>
   </build>



Thanks!!!

P.S.: is there a way to search in the mailing-list database, appart
from
Google? I'm sorry if my question has been previously posted.



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



--
Julian Wood <[EMAIL PROTECTED]>

Programmer/Analyst
University of Calgary

http://commons.ucalgary.ca


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

Reply via email to