vmassol 2004/07/22 04:26:28
Modified: announcement/xdocs changes.xml properties.xml
announcement plugin.jelly plugin.properties
Log:
Added new optional <code>maven.announcement.stylesheet.path</code>property that
defines what stylesheet to use to generate the text announcement. Fixes
MPANNOUNCEMENT-11.
Revision Changes Path
1.21 +4 -0 maven-plugins/announcement/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/announcement/xdocs/changes.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- changes.xml 15 Jul 2004 19:19:48 -0000 1.20
+++ changes.xml 22 Jul 2004 11:26:28 -0000 1.21
@@ -25,6 +25,10 @@
</properties>
<body>
<release version="1.3-SNAPSHOT" date="in CVS">
+ <action dev="vmassol" type="add" issue="MPANNOUNCEMENT-11" due-to="Felipe
Leme">
+ Added new optional <code>maven.announcement.stylesheet.path</code>property
+ that defines what stylesheet to use to generate the text announcement.
+ </action>
<action dev="vmassol" type="fix" issue="MPANNOUNCEMENT-12" due-to="Felipe
Leme">
Fixed error message when current version is not available at
<code>xdocs/changes.xml</code>.
1.9 +10 -0 maven-plugins/announcement/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven-plugins/announcement/xdocs/properties.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- properties.xml 2 Jul 2004 20:57:16 -0000 1.8
+++ properties.xml 22 Jul 2004 11:26:28 -0000 1.9
@@ -61,6 +61,16 @@
<code>${maven.repo.remote}/${pom.groupId}/plugins</code>
</td>
</tr>
+ <tr>
+ <td>maven.announcement.stylesheet.path</td>
+ <td>Yes</td>
+ <td>
+ Stylesheet to use to generate the text announcement.
+ </td>
+ <td>
+ <code>${plugin.resources}/announcement.jsl</code>
+ </td>
+ </tr>
</table>
</section>
</body>
1.11 +3 -2 maven-plugins/announcement/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/announcement/plugin.jelly,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- plugin.jelly 15 Jul 2004 19:19:48 -0000 1.10
+++ plugin.jelly 22 Jul 2004 11:26:28 -0000 1.11
@@ -105,8 +105,9 @@
<echo>Generating announcement for release ${versionVariable} in
${file}...</echo>
- <j:set var="stylesheetURI"
- value="file:${plugin.resources}/announcement.jsl"/>
+ <j:set var="stylesheetURI"
value="file:${maven.announcement.stylesheet.path}"/>
+
+ <echo>Using stylesheet located at ${stylesheetURI}</echo>
<j:file
name="${file}"
1.11 +2 -0 maven-plugins/announcement/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven-plugins/announcement/plugin.properties,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- plugin.properties 2 Jul 2004 20:57:16 -0000 1.10
+++ plugin.properties 22 Jul 2004 11:26:28 -0000 1.11
@@ -31,3 +31,5 @@
# For example:
# maven.announcement.distributionUrl = http//www.mysite.com/dist
+# Stylesheet to use to generate the text announcement
+maven.announcement.stylesheet.path = ${plugin.resources}/announcement.jsl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]