You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Trevor Harmon (JIRA)" <ji...@codehaus.org> on 2008/12/02 22:22:20 UTC

[jira] Issue Comment Edited: (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=156372#action_156372 ] 

Trevor Harmon edited comment on MNG-3888 at 12/2/08 3:20 PM:
-------------------------------------------------------------

But it is perfectly valid to have <classpath/> inside <arguments>, such as:

{code:xml}
<arguments>
    <argument>-classpath</argument>
    <classpath/>
</arguments>
{code}

This is a normal use case of the exec-plugin.

      was (Author: vocaro):
    But it is perfectly valid to have <classpath/> inside <arguments>, such as:

{code:xml}
<arguments>
    <argument>-classpath</argument>
    <classpath/>
</arguments>
{code}

This is a normal use case of the compiler-plugin.
  
> 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