diff --git a/announcement/src/main/org/apache/maven/announcement/Formatter.java b/announcement/src/main/org/apache/maven/announcement/Formatter.java index 106d39f5..67b77356 100644 --- a/announcement/src/main/org/apache/maven/announcement/Formatter.java +++ b/announcement/src/main/org/apache/maven/announcement/Formatter.java @@ -62,7 +62,7 @@ import java.util.StringTokenizer; /** * @author Vincent Massol * - * @version $Id: Formatter.java,v 1.1 2003/11/16 22:48:57 vmassol Exp $ + * @version $Id: Formatter.java,v 1.2 2003/11/16 23:29:37 vmassol Exp $ */ public class Formatter { @@ -81,16 +81,12 @@ public class Formatter } else { - buffer.append('\r'); - buffer.append('\n'); strings.add(buffer.toString()); buffer = new StringBuffer(); buffer.append(token); buffer.append(' '); } } - buffer.append('\r'); - buffer.append('\n'); strings.add(buffer.toString()); return strings; } diff --git a/announcement/src/plugin-resources/announcement.jsl b/announcement/src/plugin-resources/announcement.jsl index b1325f6c..165a06d1 100644 --- a/announcement/src/plugin-resources/announcement.jsl +++ b/announcement/src/plugin-resources/announcement.jsl @@ -18,40 +18,46 @@ + - - - - + ${formattedHeader} - +${pom.url} - +Changes in this version include (last changes first): + - + - - + + + +o ${line} + + + + ${line} + + + + - + + +This plugin has been tested with Maven [TODO]. Using it with +another version of Maven is at your own risks! :-) - - +You can download the ${pom.name} here: +${maven.repo.remote}/${pom.groupId}/jars/${pom.artifactId}-${versionVariable}.jar - - - - - - - - - +Have fun! +-The development team +