You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2004/07/02 23:27:56 UTC
cvs commit: maven-plugins/xdoc project.xml
vmassol 2004/07/02 14:27:56
Modified: xdoc/xdocs changes.xml
xdoc/src/plugin-resources/templates downloads.jelly
xdoc project.xml
Log:
- Added a link to the release notes in the download report. Note that this link is only created if the project has a <code>xdocs/changes.xml</code> file.
- Changed version to be 1.8-SNAPSHOT instead of 1.7.3-SNAPSHOT as there is now a relatively important change that warrants a new minor
Revision Changes Path
1.58 +6 -1 maven-plugins/xdoc/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/xdoc/xdocs/changes.xml,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- changes.xml 30 Jun 2004 04:20:54 -0000 1.57
+++ changes.xml 2 Jul 2004 21:27:56 -0000 1.58
@@ -25,7 +25,12 @@
<author email="vmassol@apache.org">Vincent Massol</author>
</properties>
<body>
- <release version="1.7.3-SNAPSHOT" date="in CVS">
+ <release version="1.8-SNAPSHOT" date="in CVS">
+ <action dev="vmassol" type="add">
+ Added a link to the release notes in the download report. Note that this
+ link is only created if the project has a <code>xdocs/changes.xml</code>
+ file.
+ </action>
<action dev="carlos" type="add" issue="MPXDOC-112">Add instructions to checkout with maven to cvs-usage page</action>
</release>
<release version="1.7.2" date="2004-06-25">
1.2 +15 -0 maven-plugins/xdoc/src/plugin-resources/templates/downloads.jelly
Index: downloads.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/xdoc/src/plugin-resources/templates/downloads.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- downloads.jelly 2 May 2004 10:16:08 -0000 1.1
+++ downloads.jelly 2 Jul 2004 21:27:56 -0000 1.2
@@ -60,9 +60,17 @@
<p>
List of available downloads.
</p>
+
+ <!-- Generate a table with download links and release notes. The release notes
+ are only generated if there is a xdocs/changes.xml file in the project -->
+ <util:file var="changesAsFile" name="${maven.docs.src}/changes.xml"/>
+
<table>
<tr>
<th>Download links</th>
+ <j:if test="${changesAsFile.exists()}">
+ <th>Release notes</th>
+ </j:if>
</tr>
<j:forEach var="version" items="${pom.versions}">
<!-- Exclude the version being worked on (i.e. the one
@@ -72,6 +80,13 @@
<td>
<a href="${maven.xdoc.distributionUrl}/${pom.artifactId}-${version}.${maven.xdoc.distributionType}">${pom.name} v${version}</a>
</td>
+ <j:if test="${changesAsFile.exists()}">
+ <td>
+ <!-- Call the Announcement plugin to generate release notes -->
+ <attainGoal name="announcement:generate-all"/>
+ <a href="announcements/announcement-${version}.txt">${version} release notes</a>
+ </td>
+ </j:if>
</tr>
</j:if>
</j:forEach>
1.57 +6 -1 maven-plugins/xdoc/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/maven-plugins/xdoc/project.xml,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- project.xml 29 Jun 2004 08:48:35 -0000 1.56
+++ project.xml 2 Jul 2004 21:27:56 -0000 1.57
@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-xdoc-plugin</id>
<name>Maven XDoc Plug-in</name>
- <currentVersion>1.7.3-SNAPSHOT</currentVersion>
+ <currentVersion>1.8-SNAPSHOT</currentVersion>
<description>Convert xdocs into HTML. Requires Maven 1.0 RC2.</description>
<shortDescription>Convert xdocs into HTML</shortDescription>
<url>http://maven.apache.org/reference/plugins/xdoc/</url>
@@ -59,6 +59,11 @@
<id>1.7.2</id>
<name>1.7.2</name>
<tag>MAVEN_XDOC_1_7_2</tag>
+ </version>
+ <version>
+ <id>1.8</id>
+ <name>1.8</name>
+ <tag>HEAD</tag>
</version>
</versions>
<developers>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org