[jira] Commented: (MCHANGES-128) unable to use toAddresses field for announces

2008-11-05 Thread Fabien Galampoix (JIRA)

[ 
http://jira.codehaus.org/browse/MCHANGES-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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




[jira] Commented: (MCHANGES-128) unable to use toAddresses field for announces

2008-11-04 Thread Dennis Lundberg (JIRA)

[ 
http://jira.codehaus.org/browse/MCHANGES-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=153049#action_153049
 ] 

Dennis Lundberg commented on MCHANGES-128:
--

Can you show us the command line and POM configuration you use to get the error?

 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




[jira] Commented: (MCHANGES-128) unable to use toAddresses field for announces

2008-11-04 Thread Olivier Lamy (JIRA)

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

Olivier Lamy commented on MCHANGES-128:
---

Dennis,
Just try with the following configuration :
{code:xml}
 plugin
   artifactIdmaven-changes-plugin/artifactId
   version2.1-SNAPSHOT/version
   configuration
 toAddresses
   toAddress[EMAIL PROTECTED]/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