Author: olamy Date: Fri Sep 16 21:07:28 2011 New Revision: 1171784 URL: http://svn.apache.org/viewvc?rev=1171784&view=rev Log: [MCHANGELOG-123] Patch with support for SCM provider implementations (similar to release plugin) add documentation
Added: maven/plugins/trunk/maven-changelog-plugin/src/site/apt/changing-scm-impl.apt.vm Modified: maven/plugins/trunk/maven-changelog-plugin/pom.xml maven/plugins/trunk/maven-changelog-plugin/src/site/site.xml Modified: maven/plugins/trunk/maven-changelog-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/pom.xml?rev=1171784&r1=1171783&r2=1171784&view=diff ============================================================================== --- maven/plugins/trunk/maven-changelog-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-changelog-plugin/pom.xml Fri Sep 16 21:07:28 2011 @@ -299,6 +299,18 @@ under the License. </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> Added: maven/plugins/trunk/maven-changelog-plugin/src/site/apt/changing-scm-impl.apt.vm URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/site/apt/changing-scm-impl.apt.vm?rev=1171784&view=auto ============================================================================== --- maven/plugins/trunk/maven-changelog-plugin/src/site/apt/changing-scm-impl.apt.vm (added) +++ maven/plugins/trunk/maven-changelog-plugin/src/site/apt/changing-scm-impl.apt.vm Fri Sep 16 21:07:28 2011 @@ -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 Modified: maven/plugins/trunk/maven-changelog-plugin/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/site/site.xml?rev=1171784&r1=1171783&r2=1171784&view=diff ============================================================================== --- maven/plugins/trunk/maven-changelog-plugin/src/site/site.xml (original) +++ maven/plugins/trunk/maven-changelog-plugin/src/site/site.xml Fri Sep 16 21:07:28 2011 @@ -29,6 +29,7 @@ under the License. <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"/>