Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
improve project dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Costin Leau committed Feb 1, 2012
1 parent 6d8253e commit a5a493d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
39 changes: 20 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// used for artifact names, building doc upload urls, etc.
description = 'Spring Hadoop'
description = 'Spring Data Hadoop'
abbreviation = 'DATAHADOOP'

apply plugin: 'base'
Expand Down Expand Up @@ -130,6 +130,11 @@ test {

// Common dependencies
dependencies {
// Hadoop
compile("org.apache.hadoop:hadoop-core:$hadoopVersion") { optional = true }
compile("org.apache.hadoop:hadoop-streaming:$hadoopVersion") { optional = true }
compile("org.apache.hadoop:hadoop-tools:$hadoopVersion") { optional = true }

// Logging
compile "org.slf4j:slf4j-api:$slf4jVersion"
compile "org.slf4j:jcl-over-slf4j:$slf4jVersion"
Expand All @@ -141,39 +146,35 @@ dependencies {
exclude module: "commons-logging"
}
compile "org.springframework:spring-context-support:$springVersion"
compile "org.springframework:spring-tx:$springVersion"
compile "org.springframework:spring-aop:$springVersion"
compile "org.springframework:spring-oxm:$springVersion"
compile "org.springframework:spring-jdbc:$springVersion"
compile "org.springframework.batch:spring-batch-core:$springBatchVersion"
compile "org.springframework.integration:spring-integration-core:$springIntVersion"

// Hadoop
compile "org.apache.hadoop:hadoop-core:$hadoopVersion"
compile "org.apache.hadoop:hadoop-streaming:$hadoopVersion"
compile "org.apache.hadoop:hadoop-tools:$hadoopVersion"

testRuntime "commons-io:commons-io:$commonsioVersion"
testRuntime "org.codehaus.jackson:jackson-core-asl:$jacksonVersion"
testRuntime "org.codehaus.jackson:jackson-mapper-asl:$jacksonVersion"
compile("org.springframework:spring-tx:$springVersion") { optional = true }
compile("org.springframework:spring-aop:$springVersion") { optional = true }
//compile "org.springframework:spring-oxm:$springVersion"
compile("org.springframework:spring-jdbc:$springVersion") { optional = true }
compile("org.springframework.batch:spring-batch-core:$springBatchVersion") { optional = true }
compile("org.springframework.integration:spring-integration-core:$springIntVersion") { optional = true }

//testRuntime "commons-io:commons-io:$commonsioVersion"
//testRuntime "org.codehaus.jackson:jackson-core-asl:$jacksonVersion"
//testRuntime "org.codehaus.jackson:jackson-mapper-asl:$jacksonVersion"
testRuntime "cglib:cglib:$cglibVersion"

// Hive
testRuntime "org.apache.hive:hive-common:$hiveVersion"
compile "org.apache.hive:hive-jdbc:$hiveVersion"
compile "org.apache.hive:hive-service:$hiveVersion"
testRuntime "org.apache.hive:hive-jdbc:$hiveVersion"
compile("org.apache.hive:hive-service:$hiveVersion") { optional = true }
testRuntime "org.apache.hive:hive-metastore:$hiveVersion"
testRuntime "org.apache.hive:hive-shims:$hiveVersion"
testRuntime "org.apache.hive:hive-serde:$hiveVersion"
testRuntime "org.apache.thrift:libthrift:$thriftVersion"
testRuntime "org.apache.thrift:libfb303:$thriftVersion"

// Pig
compile "org.apache.pig:pig:$pigVersion"
compile("org.apache.pig:pig:$pigVersion") { optional = true }

// HBase
compile("org.apache.hbase:hbase:$hbaseVersion") {
exclude module: "thrift"
optional = true
}

// Libs dependencies (specified to cope with incompatibilities between them)
Expand Down
4 changes: 2 additions & 2 deletions maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ task generatePom {
groupId = 'org.apache.maven.plugins'
artifactId = 'maven-compiler-plugin'
configuration {
source = '1.5'
target = '1.5'
source = '1.6'
target = '1.6'
}
}
}
Expand Down

0 comments on commit a5a493d

Please sign in to comment.