You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arun C Murthy (JIRA)" <ji...@apache.org> on 2013/04/26 04:16:28 UTC

[jira] [Closed] (HADOOP-9399) protoc maven plugin doesn't work on mvn 3.0.2

     [ https://issues.apache.org/jira/browse/HADOOP-9399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy closed HADOOP-9399.
---------------------------------

    
> protoc maven plugin doesn't work on mvn 3.0.2
> ---------------------------------------------
>
>                 Key: HADOOP-9399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0
>            Reporter: Todd Lipcon
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>             Fix For: 3.0.0, 2.0.5-beta, 2.0.4-alpha
>
>         Attachments: hadoop-9399.txt
>
>
> On my machine with mvn 3.0.2, I get a ClassCastException trying to use the maven protoc plugin. The issue seems to be that mvn 3.0.2 sees the List<File> parameter, and doesn't see the generic type argument, and stuffs Strings inside instead. So, we get ClassCastException trying to use the objects as Files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira