Fixed plugin documentation and lots of other "typos"...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113471 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<j:if test="${changes.exists()}">
|
||||
<doc:registerReport
|
||||
name="Changes"
|
||||
pluginName="maven-changes-plugin"
|
||||
pluginName="changes"
|
||||
link="changes-report"
|
||||
description="Report on the project changes."/>
|
||||
</j:if>
|
||||
@@ -29,7 +29,7 @@
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<goal
|
||||
name="maven-changes-plugin:report"
|
||||
name="changes:report"
|
||||
description="Generate a changes report">
|
||||
<ant:property name="maven.docs.src"
|
||||
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.src')}"/>
|
||||
|
||||
@@ -3,10 +3,3 @@
|
||||
# -------------------------------------------------------------------
|
||||
# changes plugin.
|
||||
# -------------------------------------------------------------------
|
||||
# These three don't belong here.
|
||||
maven.build.dir = ${basedir}/target
|
||||
maven.gen.docs = ${maven.build.dir}/generated-xdocs
|
||||
maven.docs.outputencoding = ISO-8859-1
|
||||
|
||||
maven.changelog.range = 30
|
||||
maven.changelog.factory = org.apache.maven.cvslib.CvsChangeLogFactory
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-changes-plugin</id>
|
||||
<name>Maven Changes Plug-in</name>
|
||||
<currentVersion>1.2</currentVersion>
|
||||
<currentVersion>1.2-SNAPSHOT</currentVersion>
|
||||
<shortDescription>Java Project Management Tools</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/changes/</url>
|
||||
<siteDirectory>/www/maven.apache.org/reference/plugins/changes/</siteDirectory>
|
||||
@@ -13,7 +13,23 @@
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/changes/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/changes/</url>
|
||||
</repository>
|
||||
<versions>
|
||||
<version>
|
||||
<id>1.2</id>
|
||||
<name>1.2</name>
|
||||
<tag>HEAD</tag>
|
||||
</version>
|
||||
</versions>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Vincent Massol</name>
|
||||
<id>vmassol</id>
|
||||
<email>vmassol@pivolis.com</email>
|
||||
<organization>Pivolis</organization>
|
||||
<roles>
|
||||
<role>Java Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Ben Walding</name>
|
||||
<id>bwalding</id>
|
||||
@@ -24,38 +40,14 @@
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<id>ant</id>
|
||||
<version>1.5.1</version>
|
||||
<properties>
|
||||
<classloader>root</classloader>
|
||||
</properties>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-jelly</groupId>
|
||||
<artifactId>commons-jelly-tags-jsl</artifactId>
|
||||
<version>20030211.143151</version>
|
||||
<properties>
|
||||
<classloader>root.maven</classloader>
|
||||
</properties>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-jelly</groupId>
|
||||
<artifactId>commons-jelly-tags-xml</artifactId>
|
||||
<version>20030211.142705</version>
|
||||
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
|
||||
<properties>
|
||||
<classloader>root.maven</classloader>
|
||||
</properties>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<id>commons-logging</id>
|
||||
<version>1.0.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<id>junit</id>
|
||||
<version>3.8.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<dependencies/>
|
||||
<reports>
|
||||
<report>maven-changes-plugin</report>
|
||||
<report>maven-changelog-plugin</report>
|
||||
<report>maven-file-activity-plugin</report>
|
||||
<report>maven-developer-activity-plugin</report>
|
||||
<report>maven-file-activity-plugin</report>
|
||||
<report>maven-license-plugin</report>
|
||||
<report>maven-linkcheck-plugin</report>
|
||||
</reports>
|
||||
</project>
|
||||
|
||||
17
changes/xdocs/changes.xml
Normal file
17
changes/xdocs/changes.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<document>
|
||||
<properties>
|
||||
<title>Changes</title>
|
||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<release version="1.2" date="in CVS">
|
||||
<action dev="vmassol" type="fix">
|
||||
Fixed the xdocs which were simply a copy of the changelog plugin
|
||||
docs.
|
||||
</action>
|
||||
</release>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
@@ -2,27 +2,24 @@
|
||||
<document>
|
||||
|
||||
<properties>
|
||||
<title>Maven Ant Plug-in Goals</title>
|
||||
<author email="dion@multitask.com.au">dIon Gillard</author>
|
||||
<title>Maven Changes Plug-in Goals</title>
|
||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section name="Goals">
|
||||
<p>
|
||||
This plugin is called automatically by the
|
||||
<code>site</code> plugin when it generates the project
|
||||
web site.
|
||||
</p>
|
||||
<table>
|
||||
<tr><th>Goal</th><th>Description</th></tr>
|
||||
<tr>
|
||||
<td>changelog</td>
|
||||
<td>report</td>
|
||||
<td>
|
||||
This is the default goal of the plugin and simply attains
|
||||
the <code>changelog:generate</code> goal.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>changelog:generate</td>
|
||||
<td>
|
||||
Generates a report from the source control system showing
|
||||
changes by date along with the message, if any, provided
|
||||
by the developer when making the change
|
||||
Generate the Changes reports showing the difference between
|
||||
project releases.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -2,27 +2,52 @@
|
||||
<document>
|
||||
|
||||
<properties>
|
||||
<title>Maven Changelog Plug-in</title>
|
||||
<author email="jason@zenplex.com">Jason van Zyl</author>
|
||||
<author email="dion@multitask.com.au">dIon Gillard</author>
|
||||
<title>Maven Changes Plug-in</title>
|
||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section name="Maven Changelog Plug-in">
|
||||
<section name="Maven Changes Plug-in">
|
||||
<p>
|
||||
This plugin produces a nicely formatted changelog report so project
|
||||
team members can see at a glance what changes have been made
|
||||
recently to the project. Currently, there are three supported
|
||||
source control systems: CVS, StarTeam and Subversion.
|
||||
</p>
|
||||
<p>
|
||||
For more information on the functionality provided by this plugin,
|
||||
please see the <a href="goals.html">Goals</a> document.
|
||||
This plugin produces a changes report showing the differences
|
||||
between different releases of the project using it.
|
||||
</p>
|
||||
<p>
|
||||
For more information on how to customise the functionality provided
|
||||
by this plugin, please see the <a href="properties.html">properties</a>
|
||||
document.
|
||||
In order to use this plugin, simply create a <code>changes.xml</code>
|
||||
file in your <code>xdocs</code> directory. Here's an example of a
|
||||
typical <code>changes.xml</code>, showing the syntax:
|
||||
</p>
|
||||
<source><![CDATA[
|
||||
<document>
|
||||
<properties>
|
||||
<title>Page title</title>
|
||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||
</properties>
|
||||
<body>
|
||||
|
||||
<release version="2.0" date="in CVS">
|
||||
<action dev="vmassol" type="update">
|
||||
Blah blah.
|
||||
</action>
|
||||
</release>
|
||||
|
||||
<release version="1.0" date="2003-06-05">
|
||||
<action dev="vmassol" type="add">
|
||||
Added blah blah.
|
||||
</action>
|
||||
<action dev="vmassol" type="fix">
|
||||
Corrected bug blah blah.
|
||||
</action>
|
||||
<action dev="vmassol" type="remove">
|
||||
Removed blah blah.
|
||||
</action>
|
||||
</release>
|
||||
</body>
|
||||
</document>
|
||||
]]></source>
|
||||
<p>
|
||||
A live Changes example report can be found
|
||||
<a href="http://maven.apache.org/reference/plugins/cactus/changes-report.html">here</a>.
|
||||
</p>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<project name="Maven Change log Plugin">
|
||||
<project name="Maven Changes log Plugin">
|
||||
|
||||
<title>Maven Change log Plugin</title>
|
||||
<title>Maven Changes log Plugin</title>
|
||||
|
||||
<body>
|
||||
<links>
|
||||
<item name="Maven" href="http://maven.apache.org/"/>
|
||||
<item name="CVS" href="http://www.cvshome.org/"/>
|
||||
<item name="StarTeam" href="http://www.starbase.com/product_starteam/"/>
|
||||
<item name="Subversion" href="http://subversion.tigris.org/" />
|
||||
</links>
|
||||
<menu name="Overview">
|
||||
<item name="Goals" href="/goals.html" />
|
||||
|
||||
@@ -2,87 +2,15 @@
|
||||
<document>
|
||||
|
||||
<properties>
|
||||
<title>Changelog Properties</title>
|
||||
<author email="smor@apache.org">Stéphane MOR</author>
|
||||
<title>Changes Properties</title>
|
||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section name="Changelog Properties">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Property name</th>
|
||||
<th>Optional?</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.changelog.range</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Specifies the range to use when generating the change log.
|
||||
This is used by the "changelog" goal. The default value is
|
||||
<code>5</code> days. Note: when using the Subversion
|
||||
changelog factory, you <b>must</b> set this property to an
|
||||
empty value because the Subversion ra_dav module (used to
|
||||
access DAV repositories) does not support date operations
|
||||
yet. If you are using a local repository (ra_local), then
|
||||
this does not apply to you.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.changelog.factory</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Specifies a fully qualified class name implementing the
|
||||
<code>org.apache.maven.changelog.ChangeLogFactory</code> interface.
|
||||
The class creates the <code>ChangeLogGenerator</code> and
|
||||
<code>ChangeLogParser</code> pair required to create the change
|
||||
log. This is used by the "changelog" and "activity" goals.
|
||||
The default value is <a
|
||||
href="../apidocs/org/apache/maven/cvslib/CvsChangeLogFactory.html">
|
||||
org.apache.maven.cvslib.CvsChangeLogFactory</a>. In
|
||||
addition, there is also a Subversion factory (<a
|
||||
href="../apidocs/org/apache/maven/svnlib/SvnChangeLogFactory.html">
|
||||
org.apache.maven.svnlib.SvnChangeLogFactory</a>) as well as
|
||||
a StarTeam factory (<a
|
||||
href="../apidocs/org/apache/maven/starteamlib/StarteamChangeLogFactory.html">
|
||||
org.apache.maven.starteamlib.StarteamChangeLogFactory</a>).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.docs.outputencoding</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
The output encoding for the generated xml documents. Set by
|
||||
the xdoc plugin, it defaults to <code>ISO-8859-1</code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section name="Other properties">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Property name</th>
|
||||
<th>Optional?</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.gen.docs</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
The directory where the generated report is created.
|
||||
This directory holds the generated documents for
|
||||
processing by the xdoc plugin.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.mode.online</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Used by the plugin to check if the user is currently 'online'
|
||||
and hence has access to the source code repository.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<section name="Changes Properties">
|
||||
<p>
|
||||
There are no properties for this plugin.
|
||||
</p>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
Reference in New Issue
Block a user