[
https://issues.apache.org/jira/browse/HADOOP-7514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082041#comment-13082041
]
Hudson commented on HADOOP-7514:
--------------------------------
Integrated in Hadoop-Common-22-branch #67 (See
[https://builds.apache.org/job/Hadoop-Common-22-branch/67/])
HADOOP-7514. Build fails with ClassCastException when running both
mvn-install and mvn-deploy targets. Contributed by Joep Rottinghuis.
cos : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1154636
Files :
* /hadoop/common/branches/branch-0.22/common/CHANGES.txt
* /hadoop/common/branches/branch-0.22/common/build.xml
> Build fails with ClassCastException when running both mvn-install and
> mvn-deploy targets
> ----------------------------------------------------------------------------------------
>
> Key: HADOOP-7514
> URL: https://issues.apache.org/jira/browse/HADOOP-7514
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK
> 1.6.0_26; Ant 1.8.2; Maven 3.0.2
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
> Fix For: 0.22.0
>
> Attachments: HADOOP-7514.patch
>
>
> Although this may not be a common use-case, the exception thrown is really
> confusing and does not clarify what the problem is.
> The resulting error is: java.lang.ClassCastException:
> org.codehaus.plexus.DefaultPlexusContainer cannot be cast to
> org.codehaus.plexus.PlexusContainer
> The error occurs because mvn-init target gets called twice.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira