[ http://jira.codehaus.org/browse/MCHANGES-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=153118#action_153118 ]
Fabien Galampoix commented on MCHANGES-128: ------------------------------------------- Good example from Olivier, with these informations : JVM: java version "1.6.0_05" Java(TM) SE Runtime Environment (build 1.6.0_05-b13) Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing) ... and maven 2.0.9 Issue is resolved when i remove "expression="${changes.toAddresses}" as shown in the description. > unable to use "toAddresses" field for announces > ----------------------------------------------- > > Key: MCHANGES-128 > URL: http://jira.codehaus.org/browse/MCHANGES-128 > Project: Maven 2.x Changes Plugin > Issue Type: Bug > Components: announcement > Affects Versions: 2.0 > Reporter: Fabien Galampoix > Fix For: 2.1 > > > Unable to use "toAddresses" field for mail announces. > Error raised : > >>> [INFO] Failed to configure plugin parameters for: > >>> org.apache.maven.plugins:maven-changes-plugin:2.1-SNAPSHOT > >>> Cause: Class 'java.util.List' cannot be instantiated > It seems that there was a similar error on changelog plugin before. > This patch may help : > >>> in --- > >>> src/main/java/org/apache/maven/plugin/announcement/AnnouncementMailMojo.java > >>> - * @parameter expression="${changes.toAddresses}" > >>> + * @parameter -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira