[MCHANGELOG-123] Patch with support for SCM provider implementations (similar to release plugin)
add documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1171784 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index f9d499e..14a54ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -299,6 +299,18 @@
     </dependency>
   </dependencies>
 
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>3.0</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
   <reporting>
     <plugins>
       <plugin>
diff --git a/src/site/apt/changing-scm-impl.apt.vm b/src/site/apt/changing-scm-impl.apt.vm
new file mode 100644
index 0000000..ee7864d
--- /dev/null
+++ b/src/site/apt/changing-scm-impl.apt.vm
@@ -0,0 +1,70 @@
+ ------
+ Changing Scm Implementation
+ ------
+ Olivier Lamy
+ ------
+ 2011-09-16
+ ------
+
+ ~~ Licensed to the Apache Software Foundation (ASF) under one
+ ~~ or more contributor license agreements.  See the NOTICE file
+ ~~ distributed with this work for additional information
+ ~~ regarding copyright ownership.  The ASF licenses this file
+ ~~ to you under the Apache License, Version 2.0 (the
+ ~~ "License"); you may not use this file except in compliance
+ ~~ with the License.  You may obtain a copy of the License at
+ ~~
+ ~~   http://www.apache.org/licenses/LICENSE-2.0
+ ~~
+ ~~ Unless required by applicable law or agreed to in writing,
+ ~~ software distributed under the License is distributed on an
+ ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~~ KIND, either express or implied.  See the License for the
+ ~~ specific language governing permissions and limitations
+ ~~ under the License.
+
+ ~~ NOTE: For help with the syntax of this file, see:
+ ~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Changing Scm Implementation
+
+ Starting version 2.3, you can change Apache Maven Scm implementation used for your scm (ie javasvn for svn scm).
+ It's only available with Maven 3 and the new site plugin configuration.
+
++-----+
+<project>
+  ...
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-changelog-plugin</artifactId>
+        <version>${project.version}</version>
+        <dependencies>
+          <dependency>
+            <groupId>com.google.code.maven-scm-provider-svnjava</groupId>
+            <artifactId>maven-scm-provider-svnjava</artifactId>
+            <version>1.13</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>${sitePluginVersion}</version>
+        <configuration>
+          <reportPlugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-changelog-plugin</artifactId>
+              <configuration>
+                <providerImplementations>
+                  <svn>javasvn</svn>
+                </providerImplementations>
+              </configuration>
+            </plugin>
+          </reportPlugins>
+        </configuration>
+      </plugin>
+    </plugins>
+  ...
+</project>
++-----+
\ No newline at end of file
diff --git a/src/site/site.xml b/src/site/site.xml
index b68e2c0..d4d1804 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -29,6 +29,7 @@
       <item name="Goals" href="plugin-info.html"/>
       <item name="Usage" href="usage.html"/>
       <item name="FAQ" href="faq.html"/>
+      <item name="Change Scm implementation" href="changing-scm-impl.html"/>
     </menu>
     <menu name="Examples">
       <item name="Changing the Heading Date Format" href="/examples/changing-heading-date-format.html"/>