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 2008/12/02 22:09:19 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=156370#action_156370 ] 

Benjamin Bentmann commented on MNG-3888:
----------------------------------------

The cause is that in the snippet
{code:xml}
<arguments>
  <classpath/>
</arguments>
{code}
the mojo parameter {{arguments}} is of type {{String[]}} while the {{<classpath>}} elements resolves to some custom type.

> 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
>          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
>            Priority: Minor
>         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