<dependency>
--
You received this message because you are subscribed to the Google Groups "DataFu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datafu+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/build.gradle b/build.gradle
index 9ed6eb1..658f73f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,13 @@
+
+configurations {
+ provided
+}
buildscript {
repositories {
mavenCentral()
+ maven {
+ url "..." //blanked out for privacy,
+ }
}
apply from: file('gradle/buildscript.gradle'), to: buildscript
@@ -16,4 +23,8 @@ apply from: file("gradle/dependency-versions.gradle")
allprojects {
apply plugin: 'eclipse'
-}
\ No newline at end of file
+}
+
+dependencies {
+ provided "org.apache.hadoop:hadoop-client:${hadoopVersion}"
+}
diff --git a/gradle/dependency-versions.gradle b/gradle/dependency-versions.gradle
index eb24e4a..43c679d 100644
--- a/gradle/dependency-versions.gradle
+++ b/gradle/dependency-versions.gradle
@@ -6,7 +6,7 @@ ext {
commonsIoVersion="2.4"
fastutilVersion="6.5.7"
guavaVersion="17.0"
- hadoopVersion="1.0.4"
+ hadoopVersion="2.0.0-mr1-cdh4.5.0"
jodaTimeVersion="1.6"
log4jVersion="1.2.17"
mavenVersion="2.1.3"
Aarons-MacBook-Pro:incubator-datafu ajosephs$ ./gradlew assemble
The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.
Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
Deprecated dynamic property: "outputFile" on "task ':datafu-pig:jarWithDependenciesNamespaced'", value: "/Users/ajosephs/Code/i...".
:build-plugin:compileJava UP-TO-DATE
:build-plugin:processResources UP-TO-DATE
:build-plugin:classes UP-TO-DATE
:build-plugin:jar UP-TO-DATE
:build-plugin:assemble UP-TO-DATE
:datafu-hourglass:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':datafu-hourglass:compile'.
> Could not find org.apache.hadoop:hadoop-core:2.0.0-mr1-cdh4.5.0.
Required by:
org.apache.datafu:datafu-hourglass:1.2.1
> Could not find org.apache.hadoop:hadoop-tools:2.0.0-mr1-cdh4.5.0.
Required by:
org.apache.datafu:datafu-hourglass:1.2.1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.599 secs