maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MCHANGES-128) unable to use "toAddresses" field for announces
Date Tue, 04 Nov 2008 23:40:51 GMT

    [ http://jira.codehaus.org/browse/MCHANGES-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=153081#action_153081
] 

Olivier Lamy commented on MCHANGES-128:
---------------------------------------

Dennis,
Just try with the following configuration :
{code:xml}
     <plugin>
       <artifactId>maven-changes-plugin</artifactId>
       <version>2.1-SNAPSHOT</version>
       <configuration>
         <toAddresses>
           <toAddress>foo@bar.com</toAddress>
         </toAddresses>
       </configuration>
     </plugin>
{code}
Log :
{code}
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[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
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: 
Error configuring: org.apache.maven.plugins:maven-changes-plugin. Reason: Unable to parse
the created DOM for plugin configuration
{code}

> 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

        

Mime
View raw message