cvs commit: maven-plugins/changes/xdocs changes.xml
brett 2004/11/25 04:44:10 Modified:changes/src/plugin-resources changes.jsl changes2rss.jsl changes/xdocs changes.xml Log: add live bookmark link for rss Revision ChangesPath 1.15 +11 -1 maven-plugins/changes/src/plugin-resources/changes.jsl Index: changes.jsl === RCS file: /home/cvs/maven-plugins/changes/src/plugin-resources/changes.jsl,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- changes.jsl 11 Nov 2004 13:46:58 - 1.14 +++ changes.jsl 25 Nov 2004 12:44:09 - 1.15 @@ -32,10 +32,20 @@ jsl:template match=document document +head +link rel=alternative href=changes.rss type=application/rss+xml / +x:forEach select=head/* +x:copyOf select=. / +/x:forEach +/head jsl:applyTemplates select=*/ /document /jsl:template - + +jsl:template match=head trim=false + !-- Ignore, we've already done that -- +/jsl:template + jsl:template match=body trim=false body !-- Index of releases -- 1.3 +2 -1 maven-plugins/changes/src/plugin-resources/changes2rss.jsl Index: changes2rss.jsl === RCS file: /home/cvs/maven-plugins/changes/src/plugin-resources/changes2rss.jsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- changes2rss.jsl 29 Jun 2004 20:40:28 - 1.2 +++ changes2rss.jsl 25 Nov 2004 12:44:10 - 1.3 @@ -45,7 +45,8 @@ !-- If we don't go through a tmp variable Jelly inserts a space between ${pom.url} and '/changes-report.html'. Go figure... -- - j:set var=link value=${pom.url}/changes-report.html/ + j:set var=anchorNamedoc:escapeNameToken value=${pom.currentVersion}//j:set + j:set var=link value=${pom.url}/changes-report.html#${anchorName}/ link${link}/link description 1.34 +1 -0 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- changes.xml 11 Nov 2004 13:46:58 - 1.33 +++ changes.xml 25 Nov 2004 12:44:10 - 1.34 @@ -25,6 +25,7 @@ /properties body release version=1.6-SNAPSHOT date=in CVS + action dev=brett type=addAdd a live bookmark link for the RSS for Firefox./action action dev=vmassol type=fix issue=MPCHANGES-14 Added sorting of codelt;actiongt;/code elements. It is controlled by 2 properties. The codemaven.changes.sort/code property decides - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2004/11/11 03:53:54 Modified:changes project.xml changes/xdocs changes.xml Log: Prepare for 1.6 development Revision ChangesPath 1.36 +1 -1 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- project.xml 23 Oct 2004 11:08:54 - 1.35 +++ project.xml 11 Nov 2004 11:53:54 - 1.36 @@ -23,7 +23,7 @@ pomVersion3/pomVersion idmaven-changes-plugin/id nameMaven Changes Plugin/name - currentVersion1.5.1/currentVersion + currentVersion1.6-SNAPSHOT/currentVersion shortDescriptionProduce changes report/shortDescription urlhttp://maven.apache.org/reference/plugins/changes//url issueTrackingUrlhttp://jira.codehaus.org/browse/MPCHANGES/issueTrackingUrl 1.32 +2 -0 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- changes.xml 23 Oct 2004 11:08:54 - 1.31 +++ changes.xml 11 Nov 2004 11:53:54 - 1.32 @@ -24,6 +24,8 @@ author email=[EMAIL PROTECTED]Vincent Massol/author /properties body +release version=1.6-SNAPSHOT date=in CVS +/release release version=1.5.1 date=2004-10-23 action dev=vmassol type=fix issue=MPCHANGES-20Fixed typo in changes.xml example on plugin web site./action action dev=carlos type=fix issue=MPCHANGES-19Close output file in ReleaseVersion.releaseVersion()/action - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
brett 2004/10/23 04:08:54 Modified:changes project.xml changes/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.5.1 Revision ChangesPath 1.35 +6 -1 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- project.xml 10 Jul 2004 16:32:50 - 1.34 +++ project.xml 23 Oct 2004 11:08:54 - 1.35 @@ -23,7 +23,7 @@ pomVersion3/pomVersion idmaven-changes-plugin/id nameMaven Changes Plugin/name - currentVersion1.6-SNAPSHOT/currentVersion + currentVersion1.5.1/currentVersion shortDescriptionProduce changes report/shortDescription urlhttp://maven.apache.org/reference/plugins/changes//url issueTrackingUrlhttp://jira.codehaus.org/browse/MPCHANGES/issueTrackingUrl @@ -48,6 +48,11 @@ id1.5/id name1.5/name tagMAVEN_CHANGES_1_5/tag +/version +version + id1.5.1/id + name1.5.1/name + tagMAVEN_CHANGES_1_5_1/tag /version /versions developers 1.31 +5 -9 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- changes.xml 15 Sep 2004 11:05:11 - 1.30 +++ changes.xml 23 Oct 2004 11:08:54 - 1.31 @@ -24,15 +24,11 @@ author email=[EMAIL PROTECTED]Vincent Massol/author /properties body -release version=1.6-SNAPSHOT date=in CVS - action dev=vmassol type=fix issue=MPCHANGES-20 -Fixed typo in changes.xml example on plugin web site. - /action - action dev=carlos type=fix issue=MPCHANGES-19 -Close output file in ReleaseVersion.releaseVersion() - /action - action dev=vmassol type=fix issue=MPCHANGES-17 -Use the short notation for JIRA links (code%URL%/%ISSUE%/code). +release version=1.5.1 date=2004-10-23 + action dev=vmassol type=fix issue=MPCHANGES-20Fixed typo in changes.xml example on plugin web site./action + action dev=carlos type=fix issue=MPCHANGES-19Close output file in ReleaseVersion.releaseVersion()/action + action dev=vmassol type=fix issue=MPCHANGES-17Use the short notation for JIRA links ( +code%URL%/%ISSUE%/code). /action /release release version=1.5 date=2004-07-08 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2004/07/10 09:32:50 Modified:changes project.xml plugin.properties changes/xdocs changes.xml Log: Use the short notation for JIRA links (code%URL%/%ISSUE%/code). Fixes MPCHANGES-17 Revision ChangesPath 1.34 +1 -1 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- project.xml 8 Jul 2004 15:50:06 - 1.33 +++ project.xml 10 Jul 2004 16:32:50 - 1.34 @@ -23,7 +23,7 @@ pomVersion3/pomVersion idmaven-changes-plugin/id nameMaven Changes Plugin/name - currentVersion1.5/currentVersion + currentVersion1.6-SNAPSHOT/currentVersion shortDescriptionProduce changes report/shortDescription urlhttp://maven.apache.org/reference/plugins/changes//url issueTrackingUrlhttp://jira.codehaus.org/browse/MPCHANGES/issueTrackingUrl 1.7 +1 -1 maven-plugins/changes/plugin.properties Index: plugin.properties === RCS file: /home/cvs/maven-plugins/changes/plugin.properties,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- plugin.properties 13 Jun 2004 16:13:21 - 1.6 +++ plugin.properties 10 Jul 2004 16:32:50 - 1.7 @@ -27,7 +27,7 @@ # %ISSUE% : this is the issue number. # The default template below is the one for the JIRA bug tracker. -maven.changes.issue.template = %URL%/ViewIssue.jspa?key=%ISSUE% +maven.changes.issue.template = %URL%/%ISSUE% # For Bugzilla, assuming the issueTrackingUrl points to something like # http://nagoya.apache.org/bugzilla/ 1.28 +5 -0 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- changes.xml 8 Jul 2004 15:49:03 - 1.27 +++ changes.xml 10 Jul 2004 16:32:50 - 1.28 @@ -24,6 +24,11 @@ author email=[EMAIL PROTECTED]Vincent Massol/author /properties body +release version=1.6-SNAPSHOT date=in CVS + action dev=vmassol type=fix issue=MPCHANGES-17 +Use the short notation for JIRA links (code%URL%/%ISSUE%/code). + /action +/release release version=1.5 date=2004-07-08 action dev=vmassol type=addAdd generation of RSS feed for current version changes/action /release - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2004/07/08 08:49:03 Modified:changes project.xml changes/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.5 Revision ChangesPath 1.32 +6 -1 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- project.xml 29 Jun 2004 20:39:56 - 1.31 +++ project.xml 8 Jul 2004 15:49:03 - 1.32 @@ -23,7 +23,7 @@ pomVersion3/pomVersion idmaven-changes-plugin/id nameMaven Changes Plugin/name - currentVersion1.5-SNAPSHOT/currentVersion + currentVersion1.5/currentVersion shortDescriptionProduce changes report/shortDescription urlhttp://maven.apache.org/reference/plugins/changes//url issueTrackingUrlhttp://jira.codehaus.org/browse/MPCHANGES/issueTrackingUrl @@ -48,6 +48,11 @@ id1.5/id name1.5/name tagHEAD/tag +/version +version + id1.5/id + name1.5/name + tagMAVEN_CHANGES_1_5/tag /version /versions developers 1.27 +2 -4 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- changes.xml 30 Jun 2004 04:14:08 - 1.26 +++ changes.xml 8 Jul 2004 15:49:03 - 1.27 @@ -24,10 +24,8 @@ author email=[EMAIL PROTECTED]Vincent Massol/author /properties body -release version=1.5-SNAPSHOT date=in CVS - action dev=vmassol type=add -Add generation of RSS feed for current version changes - /action +release version=1.5 date=2004-07-08 + action dev=vmassol type=addAdd generation of RSS feed for current version changes/action /release release version=1.4 date=2004-05-15 action dev=aheritier type=fix issue=MPCHANGES-8 due-to=Bertrand Florattitle attribute added to images. Correction of links in Release History./action - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
dion2004/06/29 04:56:33 Modified:changes project.xml changes/src/plugin-test maven.xml changes/xdocs changes.xml Log: Use assert taglib in plugin test Revision ChangesPath 1.30 +1 -1 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- project.xml 25 Jun 2004 15:24:27 - 1.29 +++ project.xml 29 Jun 2004 11:56:33 - 1.30 @@ -23,7 +23,7 @@ pomVersion3/pomVersion idmaven-changes-plugin/id nameMaven Changes Plugin/name - currentVersion1.4/currentVersion + currentVersion1.5-SNAPSHOT/currentVersion shortDescriptionProduce changes report/shortDescription urlhttp://maven.apache.org/reference/plugins/changes//url issueTrackingUrlhttp://jira.codehaus.org/browse/MPCHANGES/issueTrackingUrl 1.3 +3 -6 maven-plugins/changes/src/plugin-test/maven.xml Index: maven.xml === RCS file: /home/cvs/maven-plugins/changes/src/plugin-test/maven.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- maven.xml 4 Mar 2004 18:40:24 - 1.2 +++ maven.xml 29 Jun 2004 11:56:33 - 1.3 @@ -16,7 +16,8 @@ */ -- project xmlns:util=jelly:util - xmlns:j=jelly:core + xmlns:j=jelly:core + xmlns:assert=assert goal name=testPlugin prereqs=test-changes-report attainGoal name=clean/ @@ -24,10 +25,6 @@ goal name=test-changes-report attainGoal name=changes:report/ -j:set var=expectedFile value=${maven.gen.docs}/changes-report.xml/ -util:file var=file name=${expectedFile} / -j:if test=${!(file.exists())} - fail${expectedFile} not generated/fail -/j:if +assert:assertFileExists file=${maven.gen.docs}/changes-report.xml/ /goal /project 1.23 +3 -0 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- changes.xml 16 May 2004 02:38:59 - 1.22 +++ changes.xml 29 Jun 2004 11:56:33 - 1.23 @@ -24,6 +24,9 @@ author email=[EMAIL PROTECTED]Vincent Massol/author /properties body +release version=1.5-SNAPSHOT date=in CVS + action dev=dion type=updateUse assert taglib in plugin test project/action +/release release version=1.4 date=2004-05-15 action dev=aheritier type=fix issue=MPCHANGES-8 due-to=Bertrand Florattitle attribute added to images. Correction of links in Release History./action action dev=dion type=fixFix issues with DOM classes and jdk1.3/action - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2004/06/29 13:39:56 Modified:changes project.xml plugin.jelly changes/src/plugin-resources changes.jsl changes/xdocs changes.xml Added: changes/src/plugin-resources/images rss.png changes/src/plugin-resources changes2rss.jsl Log: Add generation of RSS feed for current version changes Revision ChangesPath 1.31 +5 -0 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- project.xml 29 Jun 2004 11:56:33 - 1.30 +++ project.xml 29 Jun 2004 20:39:56 - 1.31 @@ -44,6 +44,11 @@ name1.4/name tagMAVEN_CHANGES_1_4/tag /version +version + id1.5/id + name1.5/name + tagHEAD/tag +/version /versions developers developer 1.13 +14 -1 maven-plugins/changes/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/changes/plugin.jelly,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- plugin.jelly 4 Mar 2004 18:40:24 - 1.12 +++ plugin.jelly 29 Jun 2004 20:39:56 - 1.13 @@ -1,4 +1,5 @@ ?xml version=1.0? + !-- /* * Copyright 2001-2004 The Apache Software Foundation. @@ -17,7 +18,6 @@ */ -- - project xmlns:j=jelly:core xmlns:ant=jelly:ant @@ -56,6 +56,19 @@ outputMode=xml prettyPrint=true / + +!-- Generate a RSS feed of the changes -- +doc:jsl + input=${maven.docs.src}/changes.xml + output=changes.rss + stylesheet=${plugin.resources}/changes2rss.jsl + encoding=${maven.docs.outputencoding} + outputMode=xml + prettyPrint=true/ + +!-- Copy the RSS XML logo -- +mkdir dir=${maven.docs.dest}/images/ +copy todir=${maven.docs.dest}/images file=${plugin.resources}/images/rss.png/ /goal 1.1 maven-plugins/changes/src/plugin-resources/images/rss.png Binary file 1.13 +1 -0 maven-plugins/changes/src/plugin-resources/changes.jsl Index: changes.jsl === RCS file: /home/cvs/maven-plugins/changes/src/plugin-resources/changes.jsl,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- changes.jsl 7 May 2004 18:36:46 - 1.12 +++ changes.jsl 29 Jun 2004 20:39:56 - 1.13 @@ -52,6 +52,7 @@ /tr /x:forEach /table +pGet the RSS feed of the last changes a href=changes.rssimg src=images/rss.png//a/p /section !-- Release information -- jsl:applyTemplates select=*/ 1.1 maven-plugins/changes/src/plugin-resources/changes2rss.jsl Index: changes2rss.jsl === ?xml version=1.0 encoding=ISO-8859-1? !-- * * * Copyright 2004 The Apache Software Foundation. * * Licensed 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. * * -- jsl:stylesheet select=$doc xmlns:j=jelly:core xmlns:jsl=jelly:jsl xmlns:util=jelly:util xmlns:x=jelly:xml xmlns:doc=doc xmlns=dummy trim=true jsl:template match=document rss version=0.91 channel titleChanges report/title link${pom.url}/link descriptionChanges report/description languageen-us/language copyrightCopyright 2004 The Apache Software Foundation/copyright item j:set var=changesCountx:expr select=count(//[EMAIL PROTECTED]'${pom.currentVersion}']/action)//j:set title${changesCount} change(s) for version ${pom.currentVersion}/title !-- If we don't go through a tmp variable Jelly inserts a
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2004/06/29 13:41:14 Modified:changes/xdocs changes.xml Log: Fixed hasty copy-paste... Revision ChangesPath 1.25 +1 -1 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- changes.xml 29 Jun 2004 20:39:56 - 1.24 +++ changes.xml 29 Jun 2004 20:41:14 - 1.25 @@ -25,7 +25,7 @@ /properties body release version=1.5-SNAPSHOT date=in CVS - action dev=dion type=add + action dev=vmassol type=add Add generation of RSS feed for current version changes /action action dev=dion type=updateUse assert taglib in plugin test project/action - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
brett 2004/05/15 19:38:59 Modified:changes project.xml changes/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.4 Revision ChangesPath 1.28 +6 -1 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- project.xml 16 May 2004 01:35:46 - 1.27 +++ project.xml 16 May 2004 02:38:59 - 1.28 @@ -23,7 +23,7 @@ pomVersion3/pomVersion idmaven-changes-plugin/id nameMaven Changes Plugin/name - currentVersion1.4-SNAPSHOT/currentVersion + currentVersion1.4/currentVersion shortDescriptionProduce changes report/shortDescription urlhttp://maven.apache.org/reference/plugins/changes//url issueTrackingUrlhttp://jira.codehaus.org/BrowseProject.jspa?id=10312/issueTrackingUrl @@ -38,6 +38,11 @@ id1.3/id name1.3/name tagMAVEN_CHANGES_1_3/tag +/version +version + id1.4/id + name1.4/name + tagMAVEN_CHANGES_1_4/tag /version /versions developers 1.22 +3 -3 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- changes.xml 7 May 2004 18:37:47 - 1.21 +++ changes.xml 16 May 2004 02:38:59 - 1.22 @@ -24,12 +24,12 @@ author email=[EMAIL PROTECTED]Vincent Massol/author /properties body -release version=1.4-SNAPSHOT date=in CVS +release version=1.4 date=2004-05-15 action dev=aheritier type=fix issue=MPCHANGES-8 due-to=Bertrand Florattitle attribute added to images. Correction of links in Release History./action action dev=dion type=fixFix issues with DOM classes and jdk1.3/action action dev=brett type=fix issue=MPCHANGES-7Don't overwrite currentVersion if it already has a release date. Add unit tests./action - action dev=vmassol type=add issue=MPCHANGES-5 -Added documentation for the format of codechanges.xml/code file. + action dev=vmassol type=add issue=MPCHANGES-5Added documentation for the format of +codechanges.xml/codefile. /action action dev=brett type=fix due-to=Tim Shadel issue=MPCHANGES-6Fix anchor links in report/action /release - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: maven-plugins/changes/xdocs changes.xml
[EMAIL PROTECTED] wrote on 08/05/2004 04:36:46 AM: [snip] Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- changes.xml 27 Apr 2004 05:49:17 - 1.19 +++ changes.xml 7 May 2004 18:36:46 - 1.20 @@ -25,6 +25,7 @@ /properties body release version=1.4-SNAPSHOT date=in CVS + action dev=aheritier type=fix issue= due- to=Bertrand Florattitle attribute added to images. Correction of links in Release History./action Shouldn't the issue= be filled in? -- dIon Gillard, Multitask Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
aheritier2004/05/07 11:36:46 Modified:changes/src/plugin-resources changes.jsl changes/xdocs changes.xml Log: MPCHANGES-8 Revision ChangesPath 1.12 +3 -2 maven-plugins/changes/src/plugin-resources/changes.jsl Index: changes.jsl === RCS file: /home/cvs/maven-plugins/changes/src/plugin-resources/changes.jsl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- changes.jsl 21 Apr 2004 00:55:43 - 1.11 +++ changes.jsl 7 May 2004 18:36:46 - 1.12 @@ -45,7 +45,8 @@ j:set var=versionx:expr select=@version//j:set j:set var=datex:expr select=@date//j:set j:set var=descriptionx:expr select=@description//j:set -tda href=#${version}${version}/a/td +j:set var=anchorNamedoc:escapeNameToken value=${version}//j:set +tda href=#${anchorName}${version}/a/td td${date}/td td${description}/td /tr @@ -77,7 +78,7 @@ j:set var=duetox:expr select=@due-to//j:set j:set var=duetoemailx:expr select=@due-to-email//j:set tr -tdimg src=images/${type}.gif alt=${type}//td +tdimg src=images/${type}.gif alt=${type} title=${type}//td td jsl:applyTemplates trim=false/ 1.20 +1 -0 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- changes.xml 27 Apr 2004 05:49:17 - 1.19 +++ changes.xml 7 May 2004 18:36:46 - 1.20 @@ -25,6 +25,7 @@ /properties body release version=1.4-SNAPSHOT date=in CVS + action dev=aheritier type=fix issue= due-to=Bertrand Florattitle attribute added to images. Correction of links in Release History./action action dev=dion type=fixFix issues with DOM classes and jdk1.3/action action dev=brett type=fix issue=MPCHANGES-7Don't overwrite currentVersion if it already has a release date. Add unit tests./action action dev=vmassol type=add issue=MPCHANGES-5 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
aheritier2004/05/07 11:37:47 Modified:changes/xdocs changes.xml Log: I forgot the issue Revision ChangesPath 1.21 +1 -1 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- changes.xml 7 May 2004 18:36:46 - 1.20 +++ changes.xml 7 May 2004 18:37:47 - 1.21 @@ -25,7 +25,7 @@ /properties body release version=1.4-SNAPSHOT date=in CVS - action dev=aheritier type=fix issue= due-to=Bertrand Florattitle attribute added to images. Correction of links in Release History./action + action dev=aheritier type=fix issue=MPCHANGES-8 due-to=Bertrand Florattitle attribute added to images. Correction of links in Release History./action action dev=dion type=fixFix issues with DOM classes and jdk1.3/action action dev=brett type=fix issue=MPCHANGES-7Don't overwrite currentVersion if it already has a release date. Add unit tests./action action dev=vmassol type=add issue=MPCHANGES-5 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
brett 2004/04/22 00:34:57 Modified:changes/src/main/org/apache/maven/changes ReleaseVersion.java changes/xdocs changes.xml Added: changes/src/test/org/apache/maven/changes ReleaseVersionTest.java changes/src/test-data test-existing-release-current-version-in-cvs.xml test-existing-release-current-version-released-and-target-version-in-cvs.xml test-existing-release-current-version-released-and-target-version-released.xml test-existing-release-current-version-released.xml test-existing-release-target-version-in-cvs.xml test-existing-release-target-version-released.xml test-no-versions.xml test-one-unrelated-release.xml Log: PR: MPCHANGES-7 fix version handling Revision ChangesPath 1.3 +41 -5 maven-plugins/changes/src/main/org/apache/maven/changes/ReleaseVersion.java Index: ReleaseVersion.java === RCS file: /home/cvs/maven-plugins/changes/src/main/org/apache/maven/changes/ReleaseVersion.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ReleaseVersion.java 2 Mar 2004 15:37:56 - 1.2 +++ ReleaseVersion.java 22 Apr 2004 07:34:56 - 1.3 @@ -39,7 +39,7 @@ releaseVersion( changesFile, currentVersion, version, dateFormat.format( new Date() ) ); } -public static final void releaseVersion( File changesFile, String currentVersion, String version, String date ) +static final Document transformVersion( File changesFile, String currentVersion, String version, String date ) throws DocumentException, FileNotFoundException, UnsupportedEncodingException, IOException { SAXReader r = new SAXReader(); @@ -52,18 +52,38 @@ for ( Iterator i = releases.elementIterator( release ); i.hasNext(); ) { -Element e = (Element) i.next(); +Element e = ( Element ) i.next(); Attribute v = e.attribute( version ); if ( v != null ) { String text = v.getText(); +Attribute d = e.attribute( date ); +boolean updateRelease = false; if ( text.equals( currentVersion ) || text.equals( version ) ) { +updateRelease = true; +} +if ( updateRelease d != null ) +{ +DateFormat dateFormat = new SimpleDateFormat( -MM-dd ); +try +{ +dateFormat.parse( d.getText() ); +// date is set correctly +updateRelease = false; +} +catch ( ParseException ex ) +{ +// intentional +} +} + +if ( updateRelease ) +{ v.setText( version ); -Attribute d = e.attribute( date ); if ( d == null ) { e.addAttribute( date, date ); @@ -72,10 +92,25 @@ { d.setText( date ); } +return doc; } } } - + +// indicates no transform necessary +return null; +} + +public static final void releaseVersion( File changesFile, String currentVersion, String version, String date ) +throws DocumentException, FileNotFoundException, UnsupportedEncodingException, IOException +{ +Document doc = transformVersion( changesFile, currentVersion, version, date ); +if ( doc == null ) +{ +// no transform necessary +return; +} + // Backup the original first. FileUtils.copyFile( changesFile, new File( changesFile + .backup ) ); @@ -91,3 +126,4 @@ writer.write( doc ); } } + 1.1 maven-plugins/changes/src/test/org/apache/maven/changes/ReleaseVersionTest.java Index: ReleaseVersionTest.java === package org.apache.maven.changes; /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2004/04/20 12:42:36 Modified:changes/xdocs changes.xml Log: removed name as it wasn't a patch actually... :-) Revision ChangesPath 1.17 +1 -1 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- changes.xml 20 Apr 2004 19:39:52 - 1.16 +++ changes.xml 20 Apr 2004 19:42:36 - 1.17 @@ -25,7 +25,7 @@ /properties body release version=1.4 date=in CVS - action dev=vmassol type=add due-to=Trygve Laugst?l issue=MPCHANGES-5 + action dev=vmassol type=add issue=MPCHANGES-5 Added documentation for the format of codechanges.xml/code file. /action action dev=brett type=fix due-to=Tim Shadel issue=MPCHANGES-6Fix anchor links in report/action - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
brett 2004/03/06 16:32:19 Modified:changes project.xml changes/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.3 Revision ChangesPath 1.20 +8 -2 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- project.xml 4 Mar 2004 18:40:24 - 1.19 +++ project.xml 7 Mar 2004 00:32:19 - 1.20 @@ -1,4 +1,5 @@ ?xml version=1.0 encoding=UTF-8? + !-- /* * Copyright 2001-2004 The Apache Software Foundation. @@ -17,19 +18,19 @@ */ -- - project extend../project.xml/extend pomVersion3/pomVersion idmaven-changes-plugin/id nameMaven Changes Plug-in/name - currentVersion1.3-SNAPSHOT/currentVersion + currentVersion1.3/currentVersion shortDescriptionProduce changes report/shortDescription urlhttp://maven.apache.org/reference/plugins/changes//url issueTrackingUrlhttp://jira.codehaus.org/BrowseProject.jspa?id=10312/issueTrackingUrl siteDirectory/www/maven.apache.org/reference/plugins/changes//siteDirectory repository connectionscm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven-plugins/changes//connection +developerConnectionscm:cvs:ext:[EMAIL PROTECTED]:/home/cvs:maven-plugins/changes//developerConnection urlhttp://cvs.apache.org/viewcvs/maven-plugins/changes//url /repository versions @@ -37,6 +38,11 @@ id1.3/id name1.3/name tagHEAD/tag +/version +version + id1.3/id + name1.3/name + tagMAVEN_CHANGES_1_3/tag /version /versions developers 1.14 +21 -39maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- changes.xml 4 Mar 2004 18:40:24 - 1.13 +++ changes.xml 7 Mar 2004 00:32:19 - 1.14 @@ -1,4 +1,5 @@ -?xml version=1.0? +?xml version=1.0 encoding=UTF-8? + !-- /* * Copyright 2001-2004 The Apache Software Foundation. @@ -22,48 +23,29 @@ titleChanges plugin changes/title author email=[EMAIL PROTECTED]Vincent Massol/author /properties - body - -release version=1.3 date=in CVS - action dev=vmassol type=add -Added new codedue-to/code and codedue-to-email/code -attributes to the codelt;actiongt;/code element so that -proper acknowledgments can be given. +release version=1.3 date=2004-03-07 + action dev=vmassol type=addAdded new +codedue-to/codeand +codedue-to-email/codeattributes to the +codelt;actiongt;/codeelement so that proper acknowledgments can be given. /action - action dev=vmassol type=fix issue=MPCHANGES-1 -Added new codeissue/code attribute to codelt;actiongt;/code -elements in codechanges.xml/code file. - /action - action dev=vmassol type=fix issue=MPCHANGES-3 -HTML tags entered inside codelt;actiongt;/code tags now show up -in the generated report. - /action - action dev=brett type=add -Add the ability to transform a changes source file to resolve the current -version and set the release date. - /action -/release - -release version=1.2 date=2003-09-29 - action dev=dion type=update -Add test project + action dev=vmassol type=fix issue=MPCHANGES-1Added new +codeissue/codeattribute to +codelt;actiongt;/codeelements in +codechanges.xml/codefile. /action - action dev=dion type=update -Update to use maven.docs.*/maven.gen.docs + action dev=vmassol type=fix issue=MPCHANGES-3HTML tags entered inside +codelt;actiongt;/codetags now show up in the generated report. /action - action dev=evenisse type=add issue=MPCHANGES-4 -Add index table of release. - /action - action dev=evenisse type=fix -Add xml declaration to generated report. Fixed for character encoding. - /action - action dev=vmassol type=fix -Fixed the xdocs which were simply a copy of the changelog plugin -docs. - /action + action dev=brett type=addAdd the ability to transform a changes source file to resolve the current version and set the release date./action +/release +release version=1.2 date=2003-09-29 + action dev=dion type=updateAdd test project/action
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2003/11/16 10:49:01 Modified:changes/src/plugin-resources changes.jsl changes/xdocs changes.xml Log: Added new codedue-to/code and codedue-to-email/code attributes to the codelt;actiongt;/code element so that proper acknowledgments can be given. Revision ChangesPath 1.9 +16 -1 maven-plugins/changes/src/plugin-resources/changes.jsl Index: changes.jsl === RCS file: /home/cvs/maven-plugins/changes/src/plugin-resources/changes.jsl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- changes.jsl 16 Nov 2003 14:08:20 - 1.8 +++ changes.jsl 16 Nov 2003 18:49:01 - 1.9 @@ -52,16 +52,31 @@ j:set var=typex:expr select=@type//j:set j:set var=devx:expr select=@dev//j:set j:set var=issuex:expr select=@issue//j:set + j:set var=duetox:expr select=@due-to//j:set + j:set var=duetoemailx:expr select=@due-to-email//j:set tr tdimg src=images/${type}.gif alt=${type}//td td jsl:applyTemplates trim=false/ + j:if test=${issue != ''} j:useBean var=finder class=org.apache.maven.changes.IssueFinder/ j:set var=template value=${maven.changes.issue.template}/ j:set var=trackerURL value=${pom.issueTrackingUrl}/ -Fixes a href=${finder.getIssueURL(trackerURL,issue,template)}${issue}/a +Fixes a href=${finder.getIssueURL(trackerURL,issue,template)}${issue}/a. /j:if + + j:if test=${dueto != ''} +j:choose + j:when test=${duetoemail != ''} +Thanks to a href=mailto:${duetoemail};${dueto}/a. + /j:when + j:otherwise +Thanks to ${dueto}. + /j:otherwise +/j:choose + /j:if + /td tda href=team-list.html#${dev}${dev}/a/td /tr 1.11 +5 -0 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- changes.xml 15 Nov 2003 20:13:08 - 1.10 +++ changes.xml 16 Nov 2003 18:49:01 - 1.11 @@ -8,6 +8,11 @@ body release version=1.3 date=in CVS + action dev=vmassol type=add +Added new codedue-to/code and codedue-to-email/code +attributes to the codelt;actiongt;/code element so that +proper acknowledgments can be given. + /action action dev=vmassol type=fix issue=MPCHANGES-1 Added new codeissue/code attribute to codelt;actiongt;/code elements in codechanges.xml/code file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2003/11/15 08:06:25 Modified:changes/xdocs changes.xml Log: minor formatting change Revision ChangesPath 1.7 +4 -2 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- changes.xml 29 Sep 2003 06:09:54 - 1.6 +++ changes.xml 15 Nov 2003 16:06:25 - 1.7 @@ -7,9 +7,11 @@ body release version=1.2 date=2003-09-29 - action dev=dion type=updateAdd test project/action action dev=dion type=update -update to use maven.docs.*/maven.gen.docs +Add test project + /action + action dev=dion type=update +Update to use maven.docs.*/maven.gen.docs /action action dev=evenisse type=add a href=http://jira.codehaus.org/ViewIssue.jspa?key=MAVEN-587;Maven-587/a. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2003/11/15 08:33:11 Modified:changes/xdocs changes.xml Log: improved title Revision ChangesPath 1.8 +1 -1 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- changes.xml 15 Nov 2003 16:06:25 - 1.7 +++ changes.xml 15 Nov 2003 16:33:11 - 1.8 @@ -1,7 +1,7 @@ ?xml version=1.0? document properties -titleChanges/title +titleChanges plugin changes/title author email=[EMAIL PROTECTED]Vincent Massol/author /properties - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/changes/xdocs changes.xml
vmassol 2003/11/15 11:10:47 Modified:changes project.xml changes/src/plugin-resources changes.jsl changes/xdocs changes.xml Log: a href=http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHANGES-3;MPCHANGES-3/a. HTML tags entered inside codelt;actiongt;/code tags now show up in the generated report. Revision ChangesPath 1.16 +3 -3 maven-plugins/changes/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/changes/project.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- project.xml 15 Nov 2003 17:08:14 - 1.15 +++ project.xml 15 Nov 2003 19:10:47 - 1.16 @@ -5,7 +5,7 @@ pomVersion3/pomVersion idmaven-changes-plugin/id nameMaven Changes Plug-in/name - currentVersion1.2/currentVersion + currentVersion1.3-SNAPSHOT/currentVersion shortDescriptionProduce changes report/shortDescription urlhttp://maven.apache.org/reference/plugins/changes//url issueTrackingUrlhttp://jira.codehaus.org/secure/BrowseProject.jspa?id=10312/issueTrackingUrl @@ -16,8 +16,8 @@ /repository versions version - id1.2/id - name1.2/name + id1.3/id + name1.3/name tagHEAD/tag /version /versions 1.6 +38 -31maven-plugins/changes/src/plugin-resources/changes.jsl Index: changes.jsl === RCS file: /home/cvs/maven-plugins/changes/src/plugin-resources/changes.jsl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- changes.jsl 5 Aug 2003 11:40:28 - 1.5 +++ changes.jsl 15 Nov 2003 19:10:47 - 1.6 @@ -31,38 +31,45 @@ /x:forEach /table /section - -!-- Release details -- -x:forEach select=release -j:set var=sectionNameRelease x:expr select=@version/ - x:expr select=@date//j:set -j:set var=versionx:expr select=@version//j:set -section name=${sectionName} -a name=${version}/ -table -trth style='width:50px'Type/ththChanges/thth style='width:70px'By/th/tr -x:forEach var=action select=action -j:set var=typex:expr select=@type//j:set -j:set var=devx:expr select=@dev//j:set -tr -tdimg src=images/${type}.gif alt=${type}//td -tdx:expr select=string(.)//td -tda href=team-list.html#${dev}${dev}/a/td -/tr -/x:forEach -/table -/section -/x:forEach +!-- Release information -- +jsl:applyTemplates select=*/ /body /jsl:template - -!-- copy any other elements through -- -jsl:template match=* trim=false -jsl:copy trim=false -jsl:applyTemplates trim=false/ -/jsl:copy + +jsl:template match=release + j:set var=sectionNameRelease x:expr select=@version/ - x:expr select=@date//j:set + j:set var=versionx:expr select=@version//j:set + section name=${sectionName} +a name=${version}/ +table + trth style='width:50px'Type/ththChanges/thth style='width:70px'By/th/tr + jsl:applyTemplates select=*/ +/table + /section /jsl:template - -!-- element values don't pass through as text -- -jsl:template match=@*/ - + +jsl:template match=action + j:set var=typex:expr select=@type//j:set + j:set var=devx:expr select=@dev//j:set + tr +tdimg src=images/${type}.gif alt=${type}//td +tdjsl:applyTemplates trim=false//td +tda href=team-list.html#${dev}${dev}/a/td + /tr +/jsl:template + +jsl:template match=* + jsl:copy trim=false +jsl:applyTemplates trim=false/ + /jsl:copy +/jsl:template + + !-- element values don't pass through as text -- + jsl:template match=@*/ + + !-- CDATA and text nodes pass-thru -- + jsl:template match=text() + x:expr select=./ + /jsl:template + /jsl:stylesheet 1.9 +10 -0 maven-plugins/changes/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8