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 2003/11/16 23:50:44 UTC
cvs commit: maven-plugins/announcement/src/plugin-resources announcement.jsl
vmassol 2003/11/16 14:50:44
Modified: announcement/src/plugin-resources announcement.jsl
Log:
Binary --> Ascii
Revision Changes Path
1.2 +64 -64 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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- announcement.jsl 16 Nov 2003 22:48:57 -0000 1.1
+++ announcement.jsl 16 Nov 2003 22:50:44 -0000 1.2
@@ -1,64 +1,64 @@
-<?xml version="1.0"?>
-
-<jsl:stylesheet
- select="$doc"
- xmlns:j="jelly:core"
- xmlns:jsl="jelly:jsl"
- xmlns:x="jelly:xml"
- 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')}"/>
-
- <j:if test="${versionVariable.equals(version)}">
-
- <j:useBean var="formatter" class="org.apache.maven.announcement.Formatter"/>
-
- <j:set var="header" value="The Maven team is pleased to announce the ${pom.name} ${versionVariable} release!"/>
- <j:set var="formattedHeader" value="${formatter.format(header,78)}"/>
- <!-- TODO: Find out why brackets are added -->
- <j:expr value="${formattedHeader}"/>
-
- <!-- TODO: Need line break here -->
-
- <j:expr value="${pom.url}"/>
-
- <!-- TODO: Need line break here -->
-
- <j:expr value="Changes in this version include (last changes first):"/>
-
- <x:forEach var="action" select="action">
- <x:set var="text" select="string($action)"/>
- <j:expr value="o "/>
- <j:forEach var="line" items="${formatter.format(text,75)}">
- <!-- TODO: Need to add 3 spaces on second line and thereafter -->
- <j:expr value="${line}"/>
- </j:forEach>
- </x:forEach>
-
- <!-- TODO: Need line break here -->
-
- <j:expr value="This plugin has been tested with Maven [TODO]. Using it with"/>
- <j:expr value="another version of Maven is at your own risks! :-)"/>
-
- <!-- TODO: Need line break here -->
-
- <j:expr value="You can download the ${pom.name} here:"/>
- <j:expr value="${maven.repo.remote}/${pom.groupId}/jars/${pom.artifactId}-${versionVariable}.jar"/>
-
- <!-- TODO: Need line break here -->
-
- <j:expr value="Have fun!"/>
- <j:expr value="-The development team"/>
-
- </j:if>
-
- </jsl:template>
-
- <jsl:template match="@*"/>
-
- <jsl:template match="text()"/>
-
-</jsl:stylesheet>
+<?xml version="1.0"?>
+
+<jsl:stylesheet
+ select="$doc"
+ xmlns:j="jelly:core"
+ xmlns:jsl="jelly:jsl"
+ xmlns:x="jelly:xml"
+ 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')}"/>
+
+ <j:if test="${versionVariable.equals(version)}">
+
+ <j:useBean var="formatter" class="org.apache.maven.announcement.Formatter"/>
+
+ <j:set var="header" value="The Maven team is pleased to announce the ${pom.name} ${versionVariable} release!"/>
+ <j:set var="formattedHeader" value="${formatter.format(header,78)}"/>
+ <!-- TODO: Find out why brackets are added -->
+ <j:expr value="${formattedHeader}"/>
+
+ <!-- TODO: Need line break here -->
+
+ <j:expr value="${pom.url}"/>
+
+ <!-- TODO: Need line break here -->
+
+ <j:expr value="Changes in this version include (last changes first):"/>
+
+ <x:forEach var="action" select="action">
+ <x:set var="text" select="string($action)"/>
+ <j:expr value="o "/>
+ <j:forEach var="line" items="${formatter.format(text,75)}">
+ <!-- TODO: Need to add 3 spaces on second line and thereafter -->
+ <j:expr value="${line}"/>
+ </j:forEach>
+ </x:forEach>
+
+ <!-- TODO: Need line break here -->
+
+ <j:expr value="This plugin has been tested with Maven [TODO]. Using it with"/>
+ <j:expr value="another version of Maven is at your own risks! :-)"/>
+
+ <!-- TODO: Need line break here -->
+
+ <j:expr value="You can download the ${pom.name} here:"/>
+ <j:expr value="${maven.repo.remote}/${pom.groupId}/jars/${pom.artifactId}-${versionVariable}.jar"/>
+
+ <!-- TODO: Need line break here -->
+
+ <j:expr value="Have fun!"/>
+ <j:expr value="-The development team"/>
+
+ </j:if>
+
+ </jsl:template>
+
+ <jsl:template match="@*"/>
+
+ <jsl:template match="text()"/>
+
+</jsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org