You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-commits@maven.apache.org by ev...@apache.org on 2007/03/12 18:11:25 UTC
svn commit: r517290 - in /maven/scm/trunk/maven-scm-site/src/site/apt/guide:
./ new_provider.apt
Author: evenisse
Date: Mon Mar 12 10:11:24 2007
New Revision: 517290
URL: http://svn.apache.org/viewvc?view=rev&rev=517290
Log: (empty)
Added:
maven/scm/trunk/maven-scm-site/src/site/apt/guide/
maven/scm/trunk/maven-scm-site/src/site/apt/guide/new_provider.apt (with props)
Added: maven/scm/trunk/maven-scm-site/src/site/apt/guide/new_provider.apt
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-site/src/site/apt/guide/new_provider.apt?view=auto&rev=517290
==============================================================================
--- maven/scm/trunk/maven-scm-site/src/site/apt/guide/new_provider.apt (added)
+++ maven/scm/trunk/maven-scm-site/src/site/apt/guide/new_provider.apt Mon Mar 12 10:11:24 2007
@@ -0,0 +1,30 @@
+ ------
+ How to write a new SCM provider
+ ------
+ Maven Team
+ ------
+ 12 March 2007
+ ------
+
+<<This document is a Draft.>>
+
+Steps to write a new Maven-SCM provider?
+
+ * define allowed scm urls for this provider
+
+ * create a class that extend org.apache.maven.scm.provider.ScmProviderRepository or org.apache.maven.scm.provider.ScmProviderRepositoryWithHost, this class is the corresponding bean of the scm url
+
+ * create a class that extend org.apache.maven.scm.provider.AbstractScmProvider. This class parse the scm url and link all scm commands methods to their implementations.
+ important methods are makeProviderScmRepository and validateScmUrl
+
+ * implement all commands and link them in the scm provider class created in 3)
+
+ * for each commands, implements junit tests that test the command line format
+
+ * for each commands, implements TCK tests.
+
+ * update the site
+
+ * test the release plugin with the new provider. For that, you need to add the dependency to the release plugin and run it
+
+ * Add the dependency to Continuum libs and test the provider with a sample project
Propchange: maven/scm/trunk/maven-scm-site/src/site/apt/guide/new_provider.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/scm/trunk/maven-scm-site/src/site/apt/guide/new_provider.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"