Index: plugin.jelly
===================================================================
RCS file: /home/cvspublic/maven-plugins/announcement/plugin.jelly,v
retrieving revision 1.11
diff -u -r1.11 plugin.jelly
--- plugin.jelly 22 Jul 2004 11:26:28 -0000 1.11
+++ plugin.jelly 27 Jul 2004 13:25:34 -0000
@@ -26,6 +26,7 @@
xmlns:util="jelly:util"
xmlns:doc="doc"
xmlns:maven="jelly:maven"
+ xmlns:email="jelly:email"
xmlns:jsl="jelly:jsl"
xmlns:announcement="announcement">
@@ -40,6 +41,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -97,6 +113,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -118,6 +160,33 @@
+
+
+
+
+
+
+
+
+ Property maven.announcement.mail.server not set!
+
+
+ Could not get a sender for the announcement message.
+ Please set property maven.announcement.mail.from or make sure at least onte
+ developer element in the POM has an email address.
+
+
+
+ Property maven.announcement.mail.to not set!
+
+ Sending mail using server ${smtpServer}, subject ${mailSubject}
+ from ${mailFrom} to ${mailTo}.
+
+
+
+
Index: project.xml
===================================================================
RCS file: /home/cvspublic/maven-plugins/announcement/project.xml,v
retrieving revision 1.25
diff -u -r1.25 project.xml
--- project.xml 15 Jul 2004 19:19:48 -0000 1.25
+++ project.xml 27 Jul 2004 13:25:34 -0000
@@ -87,5 +87,22 @@
20030211.142705
http://jakarta.apache.org/commons/jelly/libs/xml/
+
+ jaf
+ 1.0.2
+ activation
+ http://java.sun.com/beans/glasgow/jaf.html
+
+
+ javamail
+ 1.3.1
+ mail
+ http://java.sun.com/products/javamail/
+
+
+ commons-jelly:commons-jelly-tags-email
+ 20030211.144034
+ http://jakarta.apache.org/commons/jelly/libs/email/index.html
+
Index: xdocs/changes.xml
===================================================================
RCS file: /home/cvspublic/maven-plugins/announcement/xdocs/changes.xml,v
retrieving revision 1.21
diff -u -r1.21 changes.xml
--- xdocs/changes.xml 22 Jul 2004 11:26:28 -0000 1.21
+++ xdocs/changes.xml 27 Jul 2004 13:25:35 -0000
@@ -25,6 +25,9 @@
+
+ Added new announcement:mail goal.
+
Added new optional maven.announcement.stylesheet.pathproperty
that defines what stylesheet to use to generate the text announcement.
Index: xdocs/goals.xml
===================================================================
RCS file: /home/cvspublic/maven-plugins/announcement/xdocs/goals.xml,v
retrieving revision 1.4
diff -u -r1.4 goals.xml
--- xdocs/goals.xml 2 Jul 2004 20:57:16 -0000 1.4
+++ xdocs/goals.xml 27 Jul 2004 13:25:35 -0000
@@ -47,6 +47,18 @@
Generate a release announcement in text format for all releases
found in changes.xml
+
+ | announcement:mail |
+
+ Send an email announcement message, according to the properties.
+ |
+
+
+ | announcement:mail-all |
+
+ Send an email announcement message for all releases, according to the properties.
+ |
+
Index: xdocs/properties.xml
===================================================================
RCS file: /home/cvspublic/maven-plugins/announcement/xdocs/properties.xml,v
retrieving revision 1.9
diff -u -r1.9 properties.xml
--- xdocs/properties.xml 22 Jul 2004 11:26:28 -0000 1.9
+++ xdocs/properties.xml 27 Jul 2004 13:25:35 -0000
@@ -71,6 +71,46 @@
${plugin.resources}/announcement.jsl
+
+ | maven.announcement.mail.server |
+ Yes |
+
+ Address of the SMTP server used to send the email message. This property is required for goals announcement:mail and announcement:mail-all.
+ |
+
+ -
+ |
+
+
+ | maven.announcement.mail.subject |
+ Yes |
+
+ Subject of the announcement email message.
+ |
+
+ Announcing ${pom.groupId} release ${pom.currentVersion}
+ |
+
+
+ | maven.announcement.mail.from |
+ Yes |
+
+ Sender (email address) of the announcement message.
+ |
+
+ first developer email available at the POM
+ |
+
+
+ | maven.announcement.mail.to |
+ Yes |
+
+ Recipients (email addresses separated by ;) of the announcement message. This property is required for goals announcement:mail and announcement:mail-all.
+ |
+
+ -
+ |
+