You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Fabien Galampoix (JIRA)" <ji...@codehaus.org> on 2008/11/04 10:43:51 UTC
[jira] Created: (MCHANGES-128) unable to use "toAddresses" field
for announces
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
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
Posted by "Fabien Galampoix (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (MCHANGES-128) unable to use "toAddresses" field
for announces
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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] Closed: (MCHANGES-128) unable to use "toAddresses" field for
announces
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MCHANGES-128.
---------------------------------
Resolution: Fixed
fix in rev [711701|http://svn.apache.org/viewvc?rev=711701&view=rev]
> 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
> Assignee: Olivier Lamy
> 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
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (MCHANGES-128) unable to use "toAddresses" field
for announces
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MCHANGES-128:
----------------------------------
Fix Version/s: 2.1
> 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