spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matei Zaharia <matei.zaha...@gmail.com>
Subject Re: Maven failure building 2.10 branch
Date Mon, 05 Aug 2013 23:12:38 GMT
Yup, the 2.10 Maven build hasn't been updated in that branch. Mind using SBT for now?

Matei

On Aug 5, 2013, at 2:24 PM, Gary Struthers <agilej2ee@earthlink.net> wrote:

> Hi,
> 
> I want to use the 2.10 branch with Scala-Ide and build with Maven.
> 
> First, I needed to add Cloudera's Maven repo to the top level pom to get their hadoop
2 repos.
> 
> 	<repository>  
> 	      <id>cloudera</id>
> 	      <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
> 	</repository>
> 
> But then when I try 
> mvn -Phadoop2 clean install   or    
> mvn -Phadoop1 clean install     or
> building in Eclipse. I get these failures and neither the -e or -X options reveal which
zip file there was an error opening.
> 
> [INFO] Compiling 204 Scala sources and 9 Java sources to /Users/garystruthers/git/incubator-spark/core/target/scala-2.10/classes...
> [ERROR] error while loading <root>, error in opening zip file
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Spark Project Parent POM .......................... SUCCESS [1.120s]
> [INFO] Spark Project Core ................................ FAILURE [15.817s]
> …..
> [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.0:compile (scala-compile-first)
on project spark-core: wrap: scala.reflect.internal.MissingRequirementError: object scala.runtime
in compiler mirror not found.
> 
> I've tried deleting alchim31, jackson, and scala artifacts from my local maven repository
and I downgraded to JDK 6 on OS X
> 
> Best,
> Gary Struthers


Mime
View raw message