All API are in maven-scm-api. You can use it directly and you need in your classpath a provider and
eventually maven-scm-plexus-manager.
You'll find sample usage in maven-scm-plugin sources
(http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-plugin/) and in maven-scm-client
(http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-client/).
Emmanuel
S Vishvapriya a écrit :
Hi,
Our development team would like to use Maven (and its SCM
functionalities) on a server environment.
We want to setup Maven against the file system on which tomcat runs. Any
requests for check-out/check-in that comes to the Application Server (to
our application running on Tomcat) has to be re-directed to Maven from
our application.
For this purpose we would like to know *if Maven exposes its SCM
functionalities as API *that can be used directly from our Java
components. I wouldnt want to call the command line Mojos on a server
environment directly.
Please advice if this feature is supported and if yes, any
pointers/documentation of how we can use the API also would be of great
help.
Thanks and regards,
Priya