alexholmes / hdfs-file-slurper

Utility to easily copy files into HDFS
Apache License 2.0
69 stars 35 forks source link

Build fails at downloading xmlenc 0.52 #7

Closed Lavode closed 10 years ago

Lavode commented 10 years ago

When trying to build via mvn clean install, it fails at downloading xmlenc 0.52.

$ mvn clean install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HDFS File Slurper 0.1.5
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for commons-cli:commons-cli:jar:1.2 is missing, no dependency information available
[WARNING] The POM for org.apache.commons:commons-exec:jar:1.1 is missing, no dependency information available
[WARNING] The POM for commons-io:commons-io:jar:2.1 is missing, no dependency information available
[WARNING] The POM for commons-lang:commons-lang:jar:2.6 is missing, no dependency information available
[WARNING] The POM for commons-logging:commons-logging:jar:1.1.1 is missing, no dependency information available
[WARNING] The POM for org.mortbay.jetty:jetty:jar:6.1.26 is missing, no dependency information available
Downloading: https://repository.cloudera.com/content/repositories/snapshots/xmlenc/xmlenc/0.52/xmlenc-0.52.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/commons-net/commons-net/1.4.1/commons-net-1.4.1.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/tomcat/jasper-runtime/5.5.23/jasper-runtime-5.5.23.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/tomcat/jasper-compiler/5.5.23/jasper-compiler-5.5.23.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/codehaus/jackson/jackson-core-asl/1.5.2/jackson-core-asl-1.5.2.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/codehaus/jackson/jackson-mapper-asl/1.5.2/jackson-mapper-asl-1.5.2.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/commons-el/commons-el/1.0/commons-el-1.0.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/net/java/dev/jets3t/jets3t/0.6.1/jets3t-0.6.1.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/oro/oro/2.0.8/oro-2.0.8.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/eclipse/jdt/core/3.1.1/core-3.1.1.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/apache/ftpserver/ftplet-api/1.0.0/ftplet-api-1.0.0.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/apache/mina/mina-core/2.0.0-M5/mina-core-2.0.0-M5.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/apache/ftpserver/ftpserver-core/1.0.0/ftpserver-core-1.0.0.pom
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/apache/ftpserver/ftpserver-deprecated/1.0.0-M2/ftpserver-deprecated-1.0.0-M2.pom
[WARNING] The POM for junit:junit:jar:4.9 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.563s
[INFO] Finished at: Mon Sep 23 12:08:16 CEST 2013
[INFO] Final Memory: 6M/238M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hdfs-slurper: Could not resolve dependencies for project com.alexholmes:hdfs-slurper:jar:0.1.5: Failed to collect dependencies at org.apache.hadoop:hadoop-core:jar:0.20.2-cdh3u2 -> xmlenc:xmlenc:jar:0.52: Failed to read artifact descriptor for xmlenc:xmlenc:jar:0.52: Could not transfer artifact xmlenc:xmlenc:pom:0.52 from/to cdh.snapshots.repo (https://repository.cloudera.com/content/repositories/snapshots): Failed to transfer file: https://repository.cloudera.com/content/repositories/snapshots/xmlenc/xmlenc/0.52/xmlenc-0.52.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [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

xmlenc is an indirect dependency through hadoop-core. Is that something which I should poke Hadoop's devs about? (Or is it something on my end?)

Lavode commented 10 years ago

I've installed the artifact manually, and it just failed on another one, from the same repository. Seems something with Cloudera's repository is amiss.