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