Author: dennisl
Date: Sat Jul 15 07:42:27 2006
New Revision: 422238
URL: http://svn.apache.org/viewvc?rev=422238&view=rev
Log:
[MCHANGES-37] Allow to change the changes.xml path
Add an example that shows how to configure this
Added:
maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/alternate-changes-xml-location.apt
(with props)
Modified:
maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml
Added:
maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/alternate-changes-xml-location.apt
URL:
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/alternate-changes-xml-location.apt?rev=422238&view=auto
==============================================================================
---
maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/alternate-changes-xml-location.apt
(added)
+++
maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/alternate-changes-xml-location.apt
Sat Jul 15 07:42:27 2006
@@ -0,0 +1,42 @@
+ ------
+ Alternate Location For The changes.xml File
+ ------
+ Dennis Lundberg
+ ------
+ 15 July 2006
+ ------
+
+Alternate Location For The changes.xml File
+
+ <<Note:>> This feature was introduced in version <2.0-beta-2> of the Changes
+ plugin.
+
+ If you want to have your <<<changes.xml>>> in another location than the
+ default <<<${basedir}/src/changes/changes.xml>>> you can do this by
+ configuring your <<<pom.xml>>>. In this example we want to use the file
+ <<<${basedir}/src/site/changes.xml>>>:
+
++-----------------+
+<project>
+ ...
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <xmlPath>${basedir}/src/site/changes.xml</xmlPath>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+ ...
+</project>
++-----------------+
Propchange:
maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/alternate-changes-xml-location.apt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml
URL:
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml?rev=422238&r1=422237&r2=422238&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml (original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml Sat Jul 15
07:42:27 2006
@@ -41,6 +41,7 @@
</menu>
<menu name="Examples">
+ <item name="Alternate Location For The changes.xml File"
href="examples/alternate-changes-xml-location.html"/>
<item name="SMTP Authentication"
href="examples/smtp-authentication.html"/>
</menu>