http://repo1.maven.org/maven2/ai/h2o/h2o-core/0.1.5/h2o-core-0.1.5.pom is broken, junit dependency version is invalid (4.+ does not work for Maven, although it works in Ivy based build tools like Gradle and sbt).
Solution should be simple: just bump h20 dependency version https://github.com/apache/mahout/blob/master/pom.xml#L115 There are multiple newer h20 releases available: http://repo1.maven.org/maven2/ai/h2o/h2o-core/ Kind regards, Stevo Slavic On Tue, Dec 16, 2014 at 11:53 PM, Andrew Musselman < [email protected]> wrote: > > If there are any h2o folks interested in taking a look with me I can spend > some time on it; it's technically a bug but yeah it might be from having a > really weird setup. > > > On Dec 16, 2014, at 2:24 PM, Dmitriy Lyubimov <[email protected]> wrote: > > > > Well now that at least anyone else is able to reproduce this, maybe. > > > > But then it may turn out some more or less common incompatibility. > problem > > is, it looks like it is extremely hard to reproduce. Who knows, maybe it > is > > because i simply have multiple jvms on my computer... and something picks > > something it is not supposed to pick... > > > >> On Tue, Dec 16, 2014 at 2:06 PM, Andrew Palumbo <[email protected]> > wrote: > >> > >> > >> > >> > >> Should we start a jira for this and ask Anand and the h2o guys to take a > >> look? > >> > >>> Date: Wed, 10 Dec 2014 09:49:02 -0800 > >>> Subject: Re: Broken build? > >>> From: [email protected] > >>> To: [email protected] > >>> > >>> No. apparently it is hard to reproduce for everyone else but me. > >>> > >>> I tried different jvm, scala and maven versions, to no avail. And > >> actually > >>> i do have it on multiple computers that all produce that error. > >>> > >>> At this point my best guess is it is some extra weird and unobvious > >>> compatibility issue with h20 or one of its transitive dependency > >> artifacts. > >>> > >>> On Tue, Dec 9, 2014 at 5:32 PM, Andrew Musselman < > >> [email protected] > >>>> wrote: > >>> > >>>> Has anyone from h2o looked at it? > >>>> > >>>> Are we doing much with that module? > >>>> > >>>> On Tue, Dec 9, 2014 at 5:24 PM, Dmitriy Lyubimov <[email protected]> > >>>> wrote: > >>>> > >>>>> yes i have been seeing this exact thing for a long time now, but no > >> one > >>>>> else could reproduce (CI builds pass anyway), and i was unable to > >> resolve > >>>>> on my own, so i ended up just throwing out h2o module from my > >> compilation > >>>>> routine. > >>>>> > >>>>> -d > >>>>> > >>>>> On Tue, Dec 9, 2014 at 5:13 PM, Andrew Musselman < > >>>>> [email protected] > >>>>>> wrote: > >>>>> > >>>>>> I've run mvn clean after pulling fresh from master and have gotten > >> this > >>>>>> error repeatably; anyone else seeing this problem? > >>>>>> > >>>>>> [INFO] > >>>>>> > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [INFO] Building Mahout H2O backend 1.0-SNAPSHOT > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [WARNING] The POM for ai.h2o:h2o-core:jar:0.1.5 is invalid, > >> transitive > >>>>>> dependencies (if any) will not be available, enable debug logging > >> for > >>>>> more > >>>>>> details > >>>>>> [INFO] > >>>>>> [INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ > >>>>>> mahout-h2o --- > >>>>>> [INFO] Source directory: > >>>>>> /home/akm/mahout/h2o/target/generated-sources/mahout added. > >>>>>> [INFO] > >>>>>> [INFO] --- build-helper-maven-plugin:1.8:add-test-source > >>>>> (add-test-source) > >>>>>> @ mahout-h2o --- > >>>>>> [INFO] Test Source directory: > >>>>>> /home/akm/mahout/h2o/target/generated-test-sources/mahout added. > >>>>>> [INFO] > >>>>>> [INFO] --- maven-resources-plugin:2.6:resources > >> (default-resources) @ > >>>>>> mahout-h2o --- > >>>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources. > >>>>>> [INFO] skip non existing resourceDirectory > >>>>>> /home/akm/mahout/h2o/src/main/resources > >>>>>> [INFO] > >>>>>> [INFO] --- maven-scala-plugin:2.15.2:add-source > >> (scala-compile-first) @ > >>>>>> mahout-h2o --- > >>>>>> [INFO] Add Source directory: /home/akm/mahout/h2o/src/main/scala > >>>>>> [INFO] Add Test Source directory: > >> /home/akm/mahout/h2o/src/test/scala > >>>>>> [INFO] > >>>>>> [INFO] --- maven-scala-plugin:2.15.2:compile (scala-compile-first) > >> @ > >>>>>> mahout-h2o --- > >>>>>> [INFO] Checking for multiple versions of scala > >>>>>> [WARNING] Invalid POM for ai.h2o:h2o-core:jar:0.1.5, transitive > >>>>>> dependencies (if any) will not be available, enable debug logging > >> for > >>>>> more > >>>>>> details > >>>>>> [WARNING] Expected all dependencies to require Scala version: > >> 2.10.4 > >>>>>> [WARNING] com.github.scopt:scopt_2.10:3.2.0 requires scala > >> version: > >>>>> 2.10.3 > >>>>>> [WARNING] Multiple versions of scala libraries detected! > >>>>>> [INFO] includes = [**/*.scala,**/*.java,] > >>>>>> [INFO] excludes = [] > >>>>>> [INFO] /home/akm/mahout/h2o/src/main/java:-1: info: compiling > >>>>>> [INFO] /home/akm/mahout/h2o/src/main/scala:-1: info: compiling > >>>>>> [INFO] Compiling 28 source files to > >> /home/akm/mahout/h2o/target/classes > >>>>> at > >>>>>> 1418173188077 > >>>>>> [ERROR] error: error while loading <root>, error in opening zip > >> file > >>>>>> [ERROR] error: scala.reflect.internal.MissingRequirementError: > >> object > >>>>>> scala.runtime in compiler mirror not found. > >>>>>> [ERROR] at > >> > scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16) > >>>>>> [ERROR] at > >> > scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17) > >>>>>> [INFO] at > >> > scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48) > >>>>>> [INFO] at > >> > scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:40) > >>>>>> [INFO] at > >> > scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61) > >>>>>> [INFO] at > >> scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172) > >>>>>> [INFO] at > >> > scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.scala:175) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lzycompute(Definitions.scala:183) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(Definitions.scala:183) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass$lzycompute(Definitions.scala:184) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass(Definitions.scala:184) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr$lzycompute(Definitions.scala:1024) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr(Definitions.scala:1023) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses$lzycompute(Definitions.scala:1153) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses(Definitions.scala:1152) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode$lzycompute(Definitions.scala:1196) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode(Definitions.scala:1196) > >>>>>> [INFO] at > >> > scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1261) > >>>>>> [INFO] at scala.tools.nsc.Global$Run.<init>(Global.scala:1290) > >>>>>> [INFO] at scala.tools.nsc.Driver.doCompile(Driver.scala:32) > >>>>>> [INFO] at scala.tools.nsc.Main$.doCompile(Main.scala:79) > >>>>>> [INFO] at scala.tools.nsc.Driver.process(Driver.scala:54) > >>>>>> [INFO] at scala.tools.nsc.Driver.main(Driver.scala:67) > >>>>>> [INFO] at scala.tools.nsc.Main.main(Main.scala) > >>>>>> [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >> Method) > >>>>>> [INFO] at > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > >>>>>> [INFO] at > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > >>>>>> [INFO] at java.lang.reflect.Method.invoke(Method.java:601) > >>>>>> [INFO] at > >> org_scala_tools_maven_executions.MainHelper.runMain(MainHelper.java:161) > >>>>>> [INFO] at > >> > org_scala_tools_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26) > >>>>>> [INFO] > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [INFO] Reactor Summary: > >>>>>> [INFO] > >>>>>> [INFO] Mahout Build Tools ................................ SUCCESS > >>>>> [1.648s] > >>>>>> [INFO] Apache Mahout ..................................... SUCCESS > >>>>> [0.482s] > >>>>>> [INFO] Mahout Math ....................................... SUCCESS > >>>>>> [10.571s] > >>>>>> [INFO] Mahout MapReduce Legacy ........................... SUCCESS > >>>>>> [16.907s] > >>>>>> [INFO] Mahout Integration ................................ SUCCESS > >>>>> [1.411s] > >>>>>> [INFO] Mahout Examples ................................... SUCCESS > >>>>>> [13.662s] > >>>>>> [INFO] Mahout Release Package ............................ SUCCESS > >>>>> [0.024s] > >>>>>> [INFO] Mahout Math Scala bindings ........................ SUCCESS > >>>>>> [35.905s] > >>>>>> [INFO] Mahout Spark bindings ............................. SUCCESS > >>>>>> [53.176s] > >>>>>> [INFO] Mahout Spark bindings shell ....................... SUCCESS > >>>>> [7.110s] > >>>>>> [INFO] Mahout H2O backend ................................ FAILURE > >>>>> [1.797s] > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [INFO] BUILD FAILURE > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [INFO] Total time: 2:23.163s > >>>>>> [INFO] Finished at: Tue Dec 09 16:59:49 PST 2014 > >>>>>> [INFO] Final Memory: 85M/1135M > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [ERROR] Failed to execute goal > >>>>>> org.scala-tools:maven-scala-plugin:2.15.2:compile > >> (scala-compile-first) > >>>>> on > >>>>>> project mahout-h2o: wrap: org.apache.commons.exec.ExecuteException: > >>>>> Process > >>>>>> exited with an error: 1(Exit value: 1) -> [Help 1] > >>>>>> [ERROR] > >>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven > >> with > >>>> the > >>>>> -e > >>>>>> switch. > >>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug > >> logging. > >>>>>> [ERROR] > >>>>>> [ERROR] For more information about the errors and possible > >> solutions, > >>>>>> please read the following articles: > >>>>>> [ERROR] [Help 1] > >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > >>>>>> [ERROR] > >>>>>> [ERROR] After correcting the problems, you can resume the build > >> with > >>>> the > >>>>>> command > >>>>>> [ERROR] mvn <goals> -rf :mahout-h2o > >>>>>> $ git remote > >>>>>> akm > >>>>>> origin > >>>>>> $ git pull origin master > >>>>>> From https://git-wip-us.apache.org/repos/asf/mahout > >>>>>> * branch master -> FETCH_HEAD > >>>>>> Already up-to-date. > >> > >> > >> >
