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/07/26 21:51:05 UTC

[incubator-iceberg] branch master updated: Correctly publish artifacts on JitPack (#321)

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 77a456a  Correctly publish artifacts on JitPack (#321)
77a456a is described below

commit 77a456a50da6c8ba0d77d7dc858b1041625fc158
Author: David Phillips <da...@acz.org>
AuthorDate: Fri Jul 26 14:51:00 2019 -0700

    Correctly publish artifacts on JitPack (#321)
    
    The Gradle install target produces invalid POM files that are missing
    the dependencyManagement section and versions for some dependencies.
    Instead, we directly tell JitPack to run the correct Gradle target.
---
 build.gradle | 4 ----
 jitpack.yml  | 2 ++
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index fe08286..282ce61 100644
--- a/build.gradle
+++ b/build.gradle
@@ -64,10 +64,6 @@ subprojects {
   apply plugin: 'maven' // make pom files for deployment
   apply plugin: 'nebula.maven-base-publish'
 
-  artifacts {
-    archives sourceJar
-  }
-
   compileJava {
     options.encoding = "UTF-8"
   }
diff --git a/jitpack.yml b/jitpack.yml
new file mode 100644
index 0000000..abeb8ee
--- /dev/null
+++ b/jitpack.yml
@@ -0,0 +1,2 @@
+install:
+  - ./gradlew publishToMavenLocal