You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2019/08/07 00:33:28 UTC

[incubator-iceberg] branch master updated: Fix iceberg-spark-runtime lint and exclusions (#236)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new c0a7ea9  Fix iceberg-spark-runtime lint and exclusions (#236)
c0a7ea9 is described below

commit c0a7ea9839d3c477f61d6e4674da02ea2d80a4a2
Author: Suren Nihalani <10...@users.noreply.github.com>
AuthorDate: Tue Aug 6 17:33:23 2019 -0700

    Fix iceberg-spark-runtime lint and exclusions (#236)
---
 build.gradle | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index 4f9c403..b19e182 100644
--- a/build.gradle
+++ b/build.gradle
@@ -62,7 +62,7 @@ subprojects {
   apply plugin: 'nebula.source-jar'
   apply plugin: 'java'
   apply plugin: 'maven' // make pom files for deployment
-  apply plugin: 'nebula.maven-base-publish'
+  apply plugin: 'maven-publish' 
 
   compileJava {
     options.encoding = "UTF-8"
@@ -390,12 +390,12 @@ project(':iceberg-pig') {
 project(':iceberg-spark-runtime') {
   apply plugin: 'com.github.johnrengelman.shadow'
 
-  tasks.build.dependsOn tasks.shadowJar
+  tasks.assemble.dependsOn tasks.shadowJar
   tasks.install.dependsOn tasks.shadowJar
   tasks.javadocJar.dependsOn tasks.shadowJar
 
   configurations {
-    compile {
+    compileOnly {
       // included in Spark
       exclude group: 'org.slf4j'
       exclude group: 'org.apache.commons'
@@ -431,7 +431,7 @@ project(':iceberg-spark-runtime') {
     relocate 'org.apache.orc', 'org.apache.iceberg.shaded.org.apache.orc'
     relocate 'io.airlift', 'org.apache.iceberg.shaded.io.airlift'
 
-    archiveName = "iceberg-spark-runtime-${version}.${extension}"
+    archiveBaseName = "iceberg-spark-runtime"
   }
 }