You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2011/01/22 17:30:58 UTC

[jira] Closed: (MNG-3888) Configuration of array-typed mojo parameters with type-incompatible elements causes ArrayStoreException

     [ http://jira.codehaus.org/browse/MNG-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-3888.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Issues to be reviewed for 3.x)
                   3.0
         Assignee: Benjamin Bentmann

Now properly reported as
{noformat}
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project baz:
Unable to parse configuration of mojo org.codehaus.mojo:exec-maven-plugin:1.2:java:
Cannot assign configuration values to array of type java.lang.String: [Classpath {}] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException
{noformat}

> Configuration of array-typed mojo parameters with type-incompatible elements causes ArrayStoreException
> -------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3888
>                 URL: http://jira.codehaus.org/browse/MNG-3888
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.0.9, 2.1.0-M1, 3.0-alpha-1
>         Environment: Maven 2.0.9, Java 1.6
>            Reporter: Trevor Harmon
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: pom.xml
>
>
> Running "mvn exec:java" on the attached POM causes an ArrayStoreException.

-- 
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