diff --git a/announcement/project.properties b/announcement/project.properties
index f50b37af..d66f96c3 100644
--- a/announcement/project.properties
+++ b/announcement/project.properties
@@ -17,6 +17,3 @@
# -------------------------------------------------------------------
# P R O J E C T P R O P E R T I E S
# -------------------------------------------------------------------
-maven.xdoc.date=left
-## maven.xdoc.version=${pom.currentVersion}
-maven.license.licenseFile=${basedir}/../LICENSE.txt
diff --git a/announcement/project.xml b/announcement/project.xml
index e0380a1c..fa022f9d 100644
--- a/announcement/project.xml
+++ b/announcement/project.xml
@@ -73,10 +73,13 @@
maven-changes-plugin
maven-changelog-plugin
+ maven-javadoc-plugin
+ maven-checkstyle-plugin
maven-file-activity-plugin
maven-developer-activity-plugin
maven-file-activity-plugin
maven-license-plugin
maven-linkcheck-plugin
+ maven-jxr-plugin
diff --git a/announcement/src/main/org/apache/maven/announcement/Formatter.java b/announcement/src/main/org/apache/maven/announcement/Formatter.java
index c828bf13..9730d545 100644
--- a/announcement/src/main/org/apache/maven/announcement/Formatter.java
+++ b/announcement/src/main/org/apache/maven/announcement/Formatter.java
@@ -1,7 +1,7 @@
package org.apache.maven.announcement;
/* ====================================================================
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2003-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,13 +22,30 @@ import java.util.List;
import java.util.StringTokenizer;
/**
+ * Format text by wrapping it if it goes beyond some column position.
+ *
* @author Vincent Massol
*
- * @version $Id: Formatter.java,v 1.3 2004/03/02 14:53:58 evenisse Exp $
+ * @version $Id: Formatter.java,v 1.4 2004/05/01 09:15:39 vmassol Exp $
*/
-public class Formatter
+public final class Formatter
{
- public static List format(String text, int column)
+ /**
+ * Private constructor to prevent anyone from instantiating this utility
+ * class.
+ */
+ private Formatter()
+ {
+ }
+
+ /**
+ * Format text by wrapping it if it goes beyond the passed column value.
+ *
+ * @param text the text to format
+ * @param column the max column position
+ * @return the wrapped text
+ */
+ public static List format(final String text, final int column)
{
StringTokenizer st = new StringTokenizer(text, " \t\r\n");
List strings = new ArrayList();
@@ -46,10 +63,10 @@ public class Formatter
strings.add(buffer.toString());
buffer = new StringBuffer();
buffer.append(token);
- buffer.append(' ');
+ buffer.append(' ');
}
}
strings.add(buffer.toString());
return strings;
}
-}
\ No newline at end of file
+}
diff --git a/announcement/src/main/org/apache/maven/announcement/package.html b/announcement/src/main/org/apache/maven/announcement/package.html
new file mode 100644
index 00000000..7ee3435e
--- /dev/null
+++ b/announcement/src/main/org/apache/maven/announcement/package.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+ Contains utility classes to perform operations that cannot be easily
+ implemented in Jelly.
+
+
+