Strange,
I'm seeing:
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid
mail sender: name and email is mandatory (null (null)).
at
org.apache.maven.plugin.announcement.AnnouncementMailMojo.sendMessage(AnnouncementMailMojo.java:232)
at
org.apache.maven.plugin.announcement.AnnouncementMailMojo.execute(AnnouncementMailMojo.java:209)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
even thou I have valid developers, and a valid fromDeveloperId:
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-changes-plugin:2.1:announcement-mail'
-->
[DEBUG] (s) from = [EMAIL PROTECTED],
[EMAIL PROTECTED]
[DEBUG] (s) fromDeveloperId = markd
[DEBUG] (f) mailContentType = text/plain
[DEBUG] (s) mailSender = null (null)
[DEBUG] (s) smtpHost = smtp.xnet.co.nz
[DEBUG] (s) smtpPort = 25
[DEBUG] (s) sslMode = false
[DEBUG] (s) subject = [ANNOUNCEMENT] - smx3.partyresource
1.2.0-SNAPSHOT released
[DEBUG] (s) template = announcement.vm
[DEBUG] (s) templateOutputDirectory =
/Users/amrk/IdeaProjects/securemx/smx3/module/smx3.partyresource/target/announcement
[DEBUG] (s) toAddresses = [EMAIL PROTECTED]
mailSender just comes out without the name/email, my effective-pom shows me:
<developers>
<developer>
<id>markd</id>
<name>Mark Derricutt</name>
<email>[EMAIL PROTECTED]</email>
</developer>
<developer>
I'll pull out the changes source once I get to the office and see if I
can work out whats going on here.
On Tue, Nov 25, 2008 at 11:01 PM, Olivier Lamy <[EMAIL PROTECTED]> wrote:
> The Maven team is pleased to announce the release of the Maven Changes
> Plugin, version 2.1.
>
> http://maven.apache.org/plugins/maven-changes-plugin/
>
> You should specify the version in your project's plugin configuration:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-changes-plugin</artifactId>
> <version>2.1</version>
> </plugin>
>
> Release Notes - Maven 2.x Changes Plugin - Version 2.1
>
>
> ** Bug
> * [MCHANGES-109] - Fix output directory for images of changes-report
> * [MCHANGES-110] - No issue links generated if
> ${project.issueManagement.url} empty but issueLinkTemplate provided
> * [MCHANGES-111] - Announcement Mojo doesn't respect Jira
> authentication settings
> * [MCHANGES-114] - Title in changes.xml is not outputted in
> changes-report.html
> * [MCHANGES-126] - NullPointerException when executing jira-report
> with JIRA 3.13
> * [MCHANGES-127] - Generated Announcement is not complete (in
> trunk rev 709936)
> * [MCHANGES-128] - unable to use "toAddresses" field for announces
>
> ** Improvement
> * [MCHANGES-61] - Provide DTD/XSD for changes.xml
> * [MCHANGES-71] - need add template encoding to announcement-generate
> * [MCHANGES-107] - Add html output format for mail annoucement
> * [MCHANGES-108] - Allow to configure changes-report mojo from properties
> * [MCHANGES-113] - Allow configuration of announcement parameters
> from command line
> * [MCHANGES-117] - Send only one e-mail to many recipients (all
> recipients in one to-header)
> * [MCHANGES-118] - AnnouncementMojo can only load velocity
> templates from src/main/resources and not a path related to user.dir
> * [MCHANGES-120] - announcement:generate mojo should warn, not
> fail if the changes file doesn't exist.
>
> ** New Feature
> * [MCHANGES-47] - Add support for multiple <issue> and <due-to>
> tags in changes.xml
> * [MCHANGES-69] - Add a date elment or attribute inside the action
> element of changes.xml
> * [MCHANGES-86] - Create a changes-validate mojo
> * [MCHANGES-90] - Add support for Trac-report like Jira-report
> * [MCHANGES-112] - Add more than one link template
> * [MCHANGES-129] - The version can't be set from the cli in
> announcement-mail
> * [MCHANGES-130] - Announce mail : Merging content from the
> changes file and from jira
> * [MCHANGES-132] - Overriding mail introduction with a mojo configuration
> * [MCHANGES-133] - adding maven project to the velocity context
> when generating announce email
> * [MCHANGES-134] - Passing some extra parameters to the announce
> velocity context
>
> ** Task
> * [MCHANGES-119] - Add the changes xsd file
> http://maven.apache.org/xsd/ after the 2.1 release
> * [MCHANGES-122] - release modello-maven-plugin 1.0-alpha-21
>
> Have fun,
>
> -The Maven team
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
"It is easier to optimize correct code than to correct optimized
code." -- Bill Harlan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]