diff --git a/announcement/project.xml b/announcement/project.xml index 44e0da09..0f4e4738 100644 --- a/announcement/project.xml +++ b/announcement/project.xml @@ -23,7 +23,7 @@ 3 maven-announcement-plugin Maven Announcement Plugin - 1.1 + 1.2-SNAPSHOT The Announcement plugin generates release announcements. It uses the information found in both the POM and in the changes.xml file to generate the announcement text.> Produce release announcement http://maven.apache.org/reference/plugins/announcement/ @@ -45,6 +45,11 @@ 1.1 MAVEN_ANNOUNCEMENT_1_1 + + 1.2 + 1.2 + HEAD + diff --git a/announcement/src/main/org/apache/maven/announcement/Formatter.java b/announcement/src/main/org/apache/maven/announcement/Formatter.java index e69cc316..15b17dd6 100644 --- a/announcement/src/main/org/apache/maven/announcement/Formatter.java +++ b/announcement/src/main/org/apache/maven/announcement/Formatter.java @@ -26,7 +26,7 @@ import java.util.StringTokenizer; * * @author Vincent Massol * - * @version $Id: Formatter.java,v 1.5 2004/05/01 09:46:21 vmassol Exp $ + * @version $Id: Formatter.java,v 1.6 2004/06/24 08:50:32 vmassol Exp $ */ public final class Formatter { @@ -44,7 +44,7 @@ public final class Formatter StringBuffer buffer = new StringBuffer(); while (st.hasMoreTokens()) { - String token = (String) st.nextToken(); + String token = st.nextToken(); if (buffer.length() + token.length() <= column) { buffer.append(token); diff --git a/announcement/xdocs/changes.xml b/announcement/xdocs/changes.xml index 5960e049..3a52dd3f 100644 --- a/announcement/xdocs/changes.xml +++ b/announcement/xdocs/changes.xml @@ -24,6 +24,8 @@ Vincent Massol + + Detect whether the project is a plugin or not by the existence of plugin.jelly in the project directory, and change the wording accordingly. Added new