Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
ubuntu-12.04
Description
when mvn package -X Dhadoop.version=2, it casted "Failed to retrieve POM for org.apache.hadoop:hadoop-core:jar:2.Could not transfer artifact org.apache.hadoop:hadoop-core:pom:2 from/to cdh.snapshots.repo (https://repository.cloudera.com/content/repositories/snapshots)" , the same bug also came for hadoop-test:jar:2.
well there is only a hadoop-core-2.0.0-mr1-cdh4.5.0.jar, not hadoop-core-2.jar. So i was just wondering why should find a hadoop-core:jar:2 in the compile? And i saw the profile(id = hadoop-1.0) with a dependency to find the hadoop-core${hadoop.version} in root pom.xml. so this is a big conflict for the compilation.