hortonworks / hive-json

A rough prototype of a tool for discovering Apache Hive schemas from JSON documents.
42 stars 32 forks source link

Don't build :( #1

Closed rjurney closed 11 years ago

rjurney commented 11 years ago

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.589s [INFO] Finished at: Wed Mar 13 11:04:41 PDT 2013 [INFO] Final Memory: 6M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project hive-json: Could not resolve dependencies for project org.apache.hive:hive-json:jar:1.0-SNAPSHOT: Could not find artifact javax.jdo:jdo2-api:jar:2.3-ec in central (http://repo1.maven.org/maven2) -> [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/DependencyResolutionException

gregrahn commented 11 years ago

Execute these two commands in the hive-jason directory (prior to mvn package) to resolve that issue: wget http://www.datanucleus.org/downloads/maven2/javax/jdo/jdo2-api/2.3-ec/jdo2-api-2.3-ec.jar mvn install:install-file -DgroupId=javax.jdo -DartifactId=jdo2-api -Dversion=2.3-ec -Dpackaging=jar -Dfile=jdo2-api-2.3-ec.jar

anthonycorbacho commented 11 years ago

you can add this in your pom

repository.cloudera.com repository.cloudera.com-releases https://repository.cloudera.com/artifactory/datanucleus
<repository>