The following comment has been added to this issue:
Author: Felipe Leme
Created: Sun, 8 Aug 2004 11:29 PM
Body:
Vincent,
I changed the code to throw an exception and then I figured it out why I have chosen
to return a String instead: the reason is that j:invokeStatic wrapps the original
expception, so the <j:catch> would return something like this:
Could not send message. Reason:
/home/felipeal/.maven/cache/maven-announcement-plugin-1.3-SNAPSHOT/plugin.jelly:159:94:
<j:invokeStatic> Could not load class: org.apache.maven.announcement.MailUtils.
Reason: java.lang.reflect.InvocationTargetException
So, we better leave the code the way it is.
-- Felipe
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22892
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPANNOUNCEMENT-9
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPANNOUNCEMENT-9
Summary: Add a goal to send the announcement by mail to a list of email addresses
Type: New Feature
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-announcement-plugin
Fix Fors:
1.3
Versions:
1.2
Assignee: Vincent Massol
Reporter: Vincent Massol
Created: Thu, 8 Jul 2004 4:16 AM
Updated: Sun, 8 Aug 2004 11:29 PM
Description:
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]