You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/07/03 16:36:41 UTC

[GitHub] [incubator-iceberg] rdblue commented on a change in pull request #241: Use gradle-consistent-versions to manage dependencies

rdblue commented on a change in pull request #241: Use gradle-consistent-versions to manage dependencies
URL: https://github.com/apache/incubator-iceberg/pull/241#discussion_r300054806
 
 

 ##########
 File path: build.gradle
 ##########
 @@ -253,24 +240,31 @@ project(':iceberg-hive') {
   dependencies {
     compile project(':iceberg-core')
 
-    compileOnly "org.apache.avro:avro:$avroVersion"
+    compileOnly "org.apache.avro:avro"
 
-    compileOnly("org.apache.hive:hive-metastore:$hiveVersion") {
+    compileOnly("org.apache.hive:hive-metastore") {
       exclude group: 'org.apache.avro', module: 'avro'
       exclude group: 'org.slf4j', module: 'slf4j-log4j12'
+      exclude group: 'org.pentaho' // missing dependency
     }
 
     // By default, hive-exec is a fat/uber jar and it exports a guava library
     // that's really old. We use the core classifier to be able to override our guava
     // version. Luckily, hive-exec seems to work okay so far with this version of guava
     // See: https://github.com/apache/hive/blob/master/ql/pom.xml#L911 for more context.
-    testCompile("org.apache.hive:hive-exec:$hiveVersion:core") {
+    testCompile("org.apache.hive:hive-exec::core") {
+      exclude group: 'org.apache.avro', module: 'avro'
+      exclude group: 'org.slf4j', module: 'slf4j-log4j12'
+      exclude group: 'org.pentaho' // missing dependency
 
 Review comment:
   The dependency could not be found in maven central. It isn't required because we are just using the Hive metastore parts.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org