[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion Integration or Utilization with Maven

From: Victor R. Cardona <vcardona_at_covad.net>
Date: 2004-10-12 08:24:01 CEST

Cédric Chabanois wrote:

> Raymond wrote:
>
>> Is anybody sucessfully integrated or utilizing Subversion wth the
>> current release build of Maven?
>>
>> Does the Maven CVS plug-in work with Subversion? Is thre a Subversion
>> plug-in planned for the future?
>>
>> What is the project.xml <project><repository><connection> string
>> format for Subversion? ( scm:svn in lieu of scm:cvs )? An example
>> would be greatly appreciated.
>>
>> Thanks in advance.
>>
>>
> I don't think subversion has been integrated with Maven.
>
> However you can use the following ant task
> http://subclipse.tigris.org/svnant.html
>
> Cédric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
> .
>
Subversion and Maven work together just fine. There is ample
documentation on the Maven Website. Basically you can set the
connection and developerConnection tags to something like the following:

scm|svn|<url>

The only other problem I have noticed is that you have to tell Maven's
changelog plugin that you are using Subversion. For that, you can set
the following in the project.properties file:
maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

That should be all you need to do.

Victor

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 12 08:24:41 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.