[ 
https://jira.codehaus.org/browse/MCHANGES-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=346752#comment-346752
 ] 

Guillaume Husta commented on MCHANGES-335:
------------------------------------------

OK thanks for your explanations.

So I've chosen the option #2, with adding something like that in my config :
{code:xml}
<!--  Property to define if plugin version >= 2.10  -->
<announcementFile>changes-${project.artifactId}.txt</announcementFile>
{code}

> announcement-mail broken when NOT using the announcementFile parameter
> ----------------------------------------------------------------------
>
>                 Key: MCHANGES-335
>                 URL: https://jira.codehaus.org/browse/MCHANGES-335
>             Project: Maven Changes Plugin
>          Issue Type: Bug
>          Components: announcement
>    Affects Versions: 2.10
>            Reporter: Guillaume Husta
>         Attachments: test-changes-335.zip
>
>
> When using a custom template to generate an announcement, the goal 
> _announcement-mail_ will fail if :
> * I provide the parameters _template_ (other than announcement.vm) and 
> _templateDirectory_
> * and I don't provide the parameter _announcementFile_ 
> Trace : 
> bq. [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-changes-plugin:2.10:announcement-mail 
> (default-cli) on project test-changes-sendmail: Announcement file 
> D:\Projets\Workspace_projets_java\test-changes-sendmail\target\announcement\announcement.vm
>  not found... -> [Help 1]
> This is a *regression* : it worked with version 2.9
> Related to MCHANGES-280



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to