Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1
-
Fix Version/s: 2.2
-
Component/s: announcement
-
Labels:None
-
Environment:Maven 2.0.9, Windows XP Pro SP3.
-
Patch Submitted:Yes
-
Number of attachments :
Description
According to the documentation and the available examples, it is possible specify the "from" address using either mailSend or fromDeveloperId. Starting with version 2.1, using fromDeveloperId leads to the following error:
[INFO] Invalid mail sender: name and email is mandatory (null (null)).
Looking at the source code, the regression seems to have been introduced by adding "@parameter expression="$
{changes.mailSender}"" to the declaration of the mailSender attribute.
Attached is a patch fixing the issue from the svn repository at revision 727375.
This may not be directly related to this issue, but according to the documentation at http://maven.apache.org/plugins/maven-changes-plugin/examples/specifying-mail-sender.html, it says "If no developer id is specified, the first <developer> in the list will be used."
This is not happening on my machine (I'm sure I deserve http://www.codinghorror.com/blog/archives/000818.html). Would this issue be related to that or something entirely different?