You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2004/01/06 21:48:07 UTC
cvs commit: maven-plugins/announcement/src/plugin-resources announcement.jsl
jvanzyl 2004/01/06 12:48:07
Modified: announcement/src/plugin-resources announcement.jsl
Log:
o use maven:property to glean a default instead of relying on interpolation
of ${pom} values in the plugin properties files.
Revision Changes Path
1.4 +2 -2 maven-plugins/announcement/src/plugin-resources/announcement.jsl
Index: announcement.jsl
===================================================================
RCS file: /home/cvs/maven-plugins/announcement/src/plugin-resources/announcement.jsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- announcement.jsl 16 Nov 2003 23:29:37 -0000 1.3
+++ announcement.jsl 6 Jan 2004 20:48:07 -0000 1.4
@@ -5,13 +5,13 @@
xmlns:j="jelly:core"
xmlns:jsl="jelly:jsl"
xmlns:x="jelly:xml"
+ xmlns:maven="jelly:maven"
xmlns="dummy" trim="true">
<jsl:template match="document/body/release">
<x:set var="version" select="string(@version)"/>
- <j:set var="versionVariable" value="${context.getVariable('maven.announcement.version')}"/>
-
+ <maven:property var="versionVariable" name="maven.announcement.version" defaultValue="${pom.currentVersion}"/>
<j:if test="${versionVariable.equals(version)}">
<j:useBean var="formatter" class="org.apache.maven.announcement.Formatter"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org