Index: plugin.jelly =================================================================== RCS file: /home/cvs/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 28 Jul 2004 10:21:27 -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,17 @@ + + + + + + + + + + @@ -49,6 +61,8 @@ + + @@ -97,6 +111,13 @@ + + + + + + @@ -118,6 +139,28 @@ + + + + + The SMTP server name must be specified using the maven.announcement.mail.server property + The From address must be specified using the maven.announcement.mail.from property or by ensuring that at least one developer in the POM has an email address specified + The To address must be specified using the maven.announcement.mail.to property + + + + + Sending mail using server "${maven.announcement.mail.server}", subject "${maven.announcement.mail.subject}"... + Sending from "${maven.announcement.mail.from}" to "${maven.announcement.mail.to}"... + + + + + + Index: plugin.properties =================================================================== RCS file: /home/cvs/maven-plugins/announcement/plugin.properties,v retrieving revision 1.11 diff -u -r1.11 plugin.properties --- plugin.properties 22 Jul 2004 11:26:28 -0000 1.11 +++ plugin.properties 28 Jul 2004 10:21:32 -0000 @@ -33,3 +33,16 @@ # Stylesheet to use to generate the text announcement maven.announcement.stylesheet.path = ${plugin.resources}/announcement.jsl + +# IP address or name of the SMTP server used to send an announcement email +# maven.announcement.mail.server = + +# From address to use when sending an announcement email. If not defined, +# the first email address found in the POM will be used. +# maven.announcement.mail.from = + +# To address to use when sending an announcement email. +# maven.announcement.mail.to = + +# Mail subject to use when sending an announcement email. +maven.announcement.mail.subject = [ANN] ${pom.name} %VERSION% released Index: project.xml =================================================================== RCS file: /home/cvs/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 28 Jul 2004 10:21:33 -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/cvs/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 28 Jul 2004 10:21:40 -0000 @@ -25,6 +25,10 @@ + + Added new announcement:mail goal to automatically + send the generated announcement by email. + 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/cvs/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 28 Jul 2004 10:21:43 -0000 @@ -47,6 +47,11 @@ Generate a release announcement in text format for all releases found in changes.xml + + announcement:mail + + Send the generated announcement message by email. + Index: xdocs/properties.xml =================================================================== RCS file: /home/cvs/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 28 Jul 2004 10:21:45 -0000 @@ -1,4 +1,5 @@ +