From d163728443a42f99f77425a23f83cfb29adec1f1 Mon Sep 17 00:00:00 2001 From: bwalding Date: Mon, 24 Feb 2003 13:05:07 +0000 Subject: [PATCH] o MAVEN-290: Use changes.xml again git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112982 13f79535-47bb-0310-9956-ffa450edef68 --- changes/.cvsignore | 3 ++ changes/plugin.jelly | 45 ++++++++++++++++++ changes/plugin.properties | 12 +++++ changes/project.properties | 7 +++ changes/project.xml | 62 +++++++++++++++++++++++++ changes/xdocs/.cvsignore | 1 + changes/xdocs/goals.xml | 31 +++++++++++++ changes/xdocs/index.xml | 29 ++++++++++++ changes/xdocs/navigation.xml | 18 ++++++++ changes/xdocs/properties.xml | 88 ++++++++++++++++++++++++++++++++++++ 10 files changed, 296 insertions(+) create mode 100644 changes/.cvsignore create mode 100644 changes/plugin.jelly create mode 100644 changes/plugin.properties create mode 100644 changes/project.properties create mode 100644 changes/project.xml create mode 100644 changes/xdocs/.cvsignore create mode 100644 changes/xdocs/goals.xml create mode 100644 changes/xdocs/index.xml create mode 100644 changes/xdocs/navigation.xml create mode 100644 changes/xdocs/properties.xml diff --git a/changes/.cvsignore b/changes/.cvsignore new file mode 100644 index 00000000..e5e33942 --- /dev/null +++ b/changes/.cvsignore @@ -0,0 +1,3 @@ +target +velocity.log +maven.log diff --git a/changes/plugin.jelly b/changes/plugin.jelly new file mode 100644 index 00000000..b6a1a975 --- /dev/null +++ b/changes/plugin.jelly @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/changes/plugin.properties b/changes/plugin.properties new file mode 100644 index 00000000..ebcb54b5 --- /dev/null +++ b/changes/plugin.properties @@ -0,0 +1,12 @@ +# ------------------------------------------------------------------- +# P L U G I N P R O P E R I E S +# ------------------------------------------------------------------- +# 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 diff --git a/changes/project.properties b/changes/project.properties new file mode 100644 index 00000000..df6f93f4 --- /dev/null +++ b/changes/project.properties @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------- +# P R O J E C T P R O P E R T I E S +# ------------------------------------------------------------------- +maven.xdoc.date=left +maven.xdoc.version=${pom.currentVersion} +maven.license.licenseFile=${basedir}/../../../LICENSE.txt + diff --git a/changes/project.xml b/changes/project.xml new file mode 100644 index 00000000..ee32f1af --- /dev/null +++ b/changes/project.xml @@ -0,0 +1,62 @@ + + + + ${basedir}/../project.xml + 3 + maven-changes-plugin + Maven Changes Plug-in + 1.2 + Java Project Management Tools + + http://jakarta.apache.org/turbine/maven/reference/plugins/changelog/ + http://jira.werken.com/BrowseProject.jspa?id=10030 + jakarta.apache.org + /www/jakarta.apache.org/turbine/maven/reference/plugins/changelog/ + /www/jakarta.apache.org/builds/jakarta-turbine-maven/ + + + Ben Walding + bwalding + bwalding@apache.org + + + Java Developer + + + + + + + ant + 1.5.1 + + root + + + + commons-jelly + commons-jelly-tags-jsl + 20030211.143151 + + root.maven + + + + commons-jelly + commons-jelly-tags-xml + 20030211.142705 + http://jakarta.apache.org/commons/jelly/tags/xml/ + + root.maven + + + + commons-logging + 1.0.1 + + + junit + 3.8.1 + + + diff --git a/changes/xdocs/.cvsignore b/changes/xdocs/.cvsignore new file mode 100644 index 00000000..cb6131bb --- /dev/null +++ b/changes/xdocs/.cvsignore @@ -0,0 +1 @@ +stylesheets diff --git a/changes/xdocs/goals.xml b/changes/xdocs/goals.xml new file mode 100644 index 00000000..c3c28e5b --- /dev/null +++ b/changes/xdocs/goals.xml @@ -0,0 +1,31 @@ + + + + + Maven Ant Plug-in Goals + dIon Gillard + + + +
+ + + + + + + + + + +
GoalDescription
changelog + This is the default goal of the plugin and simply attains + the changelog:generate goal. +
changelog:generate + 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 +
+
+ +
diff --git a/changes/xdocs/index.xml b/changes/xdocs/index.xml new file mode 100644 index 00000000..2149b1a9 --- /dev/null +++ b/changes/xdocs/index.xml @@ -0,0 +1,29 @@ + + + + + Maven Changelog Plug-in + Jason van Zyl + dIon Gillard + + + +
+

+ 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. +

+

+ For more information on the functionality provided by this plugin, + please see the Goals document. +

+

+ For more information on how to customise the functionality provided + by this plugin, please see the properties + document. +

+
+ +
diff --git a/changes/xdocs/navigation.xml b/changes/xdocs/navigation.xml new file mode 100644 index 00000000..34e63b3e --- /dev/null +++ b/changes/xdocs/navigation.xml @@ -0,0 +1,18 @@ + + + + Maven Change log Plugin + + + + + + + + + + + + + + diff --git a/changes/xdocs/properties.xml b/changes/xdocs/properties.xml new file mode 100644 index 00000000..e8e81d70 --- /dev/null +++ b/changes/xdocs/properties.xml @@ -0,0 +1,88 @@ + + + + + Changelog Properties + Stéphane MOR + + + +
+ + + + + + + + + + + + + + + + + + + + + +
Property nameOptional?Description
maven.changelog.rangeYes + Specifies the range to use when generating the change log. + This is used by the "changelog" goal. The default value is + 5 days. Note: when using the Subversion + changelog factory, you must 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. +
maven.changelog.factoryYes + Specifies a fully qualified class name implementing the + org.apache.maven.changelog.ChangeLogFactory interface. + The class creates the ChangeLogGenerator and + ChangeLogParser pair required to create the change + log. This is used by the "changelog" and "activity" goals. + The default value is + org.apache.maven.cvslib.CvsChangeLogFactory. In + addition, there is also a Subversion factory ( + org.apache.maven.svnlib.SvnChangeLogFactory) as well as + a StarTeam factory ( + org.apache.maven.starteamlib.StarteamChangeLogFactory). +
maven.docs.outputencodingYes + The output encoding for the generated xml documents. Set by + the xdoc plugin, it defaults to ISO-8859-1 +
+
+
+ + + + + + + + + + + + + + + + +
Property nameOptional?Description
maven.gen.docsYes + The directory where the generated report is created. + This directory holds the generated documents for + processing by the xdoc plugin. +
maven.mode.onlineYes + Used by the plugin to check if the user is currently 'online' + and hence has access to the source code repository. +
+
+ +