rcongiu/Hive-JSON-Serde — Issue #2: mvn compile fails: hive:hive-*:pom:0.6.0_trunk not found
Author: jakajancar
Created: 2012-01-08 10:48:01+00:00
State: open

$ mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building openx-json-serde
[INFO] task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jaka/dev/Hive-JSON-Serde/src/main/resources
Downloading: http://repo1.maven.org/maven2/hive/hive-serde/0.6.0_trunk/hive-serde-0.6.0_trunk.pom
[INFO] Unable to find resource 'hive:hive-serde:pom:0.6.0_trunk' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/hive/hive-exec/0.6.0_trunk/hive-exec-0.6.0_trunk.pom
[INFO] Unable to find resource 'hive:hive-exec:pom:0.6.0_trunk' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/hive/hive-serde/0.6.0_trunk/hive-serde-0.6.0_trunk.jar
[INFO] Unable to find resource 'hive:hive-serde:jar:0.6.0_trunk' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/hive/hive-exec/0.6.0_trunk/hive-exec-0.6.0_trunk.jar
[INFO] Unable to find resource 'hive:hive-exec:jar:0.6.0_trunk' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) hive:hive-serde:jar:0.6.0_trunk

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=hive -DartifactId=hive-serde -Dversion=0.6.0_trunk -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=hive -DartifactId=hive-serde -Dversion=0.6.0_trunk -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.openx.data:json-serde:jar:1.1
2) hive:hive-serde:jar:0.6.0_trunk

2) hive:hive-exec:jar:0.6.0_trunk

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=hive -DartifactId=hive-exec -Dversion=0.6.0_trunk -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=hive -DartifactId=hive-exec -Dversion=0.6.0_trunk -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.openx.data:json-serde:jar:1.1
2) hive:hive-exec:jar:0.6.0_trunk

----------
2 required artifacts are missing.

for artifact:
org.openx.data:json-serde:jar:1.1

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sun Jan 08 05:47:16 EST 2012
[INFO] Final Memory: 8M/19M
[INFO] ------------------------------------------------------------------------