You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Thomas Will <to...@yahoo.com> on 2006/03/02 15:17:28 UTC

[m2] scm API or scm plugin?

Hi

Within my own custom plugin I need (among other tasks)
to get a specific file from scm (svn), change it, and
commit it back to scm.

What is a recommended/possible alternative:
Use the maven-scm-plugin?
Use the maven-scm API?
Use the svn java API?

Thanks, 
Tom.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: [m2] scm API or scm plugin?

Posted by Emmanuel Venisse <em...@venisse.net>.
The recommended  way is to use the maven-scm api (that will be release as 1.0 final very soon)
You can look at this file for a sample of use : 
http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/helpers/ScmHelper.java?rev=351635&view=markup

Emmanuel

Thomas Will a écrit :
> Hi
> 
> Within my own custom plugin I need (among other tasks)
> to get a specific file from scm (svn), change it, and
> commit it back to scm.
> 
> What is a recommended/possible alternative:
> Use the maven-scm-plugin?
> Use the maven-scm API?
> Use the svn java API?
> 
> Thanks, 
> Tom.
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> 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