You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by le...@apache.org on 2020/05/29 17:20:40 UTC

[incubator-gobblin] branch master updated: [GOBBLIN-1167][GOBBLIN-1163][GOBBLIN-1159] Undo elr changes

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

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


The following commit(s) were added to refs/heads/master by this push:
     new ee7e75a  [GOBBLIN-1167][GOBBLIN-1163][GOBBLIN-1159] Undo elr changes
ee7e75a is described below

commit ee7e75a31d192d7bb0591bb7711c5d862a5d858a
Author: vbohra <vb...@linkedin.com>
AuthorDate: Fri May 29 10:20:32 2020 -0700

    [GOBBLIN-1167][GOBBLIN-1163][GOBBLIN-1159] Undo elr changes
    
    Closes #3010 from vikrambohra/undoELR
---
 .travis.yml                                        |  18 +---
 build.gradle                                       |   8 --
 gobblin-binary-management/build.gradle             |   6 +-
 gobblin-cluster/build.gradle                       |  15 +--
 gobblin-compaction/build.gradle                    |  26 ++---
 gobblin-core/build.gradle                          |   2 +-
 gobblin-example/build.gradle                       |   4 +-
 gobblin-metastore/build.gradle                     |   2 +-
 .../gobblin-azure-datalake/build.gradle            |   2 +-
 gobblin-modules/gobblin-kafka-08/build.gradle      |   8 +-
 gobblin-modules/gobblin-kafka-09/build.gradle      |   8 +-
 gobblin-modules/gobblin-orc-dep/build.gradle       |  12 ---
 gobblin-rest-service/gobblin-rest-api/build.gradle |  19 ----
 gobblin-restli/api.gradle                          |  24 -----
 gobblin-tunnel/build.gradle                        |   2 +-
 gobblin-utility/build.gradle                       |   6 +-
 gradle/scripts/bintrayPublishing.gradle            | 119 ---------------------
 gradle/scripts/mavenPublishing.gradle              |  68 ++++++++++++
 gradle/scripts/nexusPublishing.gradle              |  68 ++++++++++++
 travis/bintrayDeploy.sh                            |  39 -------
 20 files changed, 174 insertions(+), 282 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 82c8897..d742b91 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,23 +35,13 @@ after_success:
   - bash <(cat .codecov_bash)
 after_failure: ./travis/junit-errors-to-stdout.sh
 
-deploy:
-  provider: script
-  script: ./travis/bintrayDeploy.sh
-  skip_cleanup: true
-  on:
-    branch: master
 
 
 env:
-  global:
-      - secure: f7aIQDgpWHIkYf19mtViOLwH/zBAeVuqOQtu9G4cfDl6R+lqYbTuSEA+HyP2EzT9E7w2bPdVRuwUEb3/FFCBcHTjSBiQ+Nnhtto1RvoXjYlzV9ImG/5s4dsYsrUGWyWxoWXHNRFLE8Xeq4pe6lHR/Md+MajuxdBxgd8AFefMvTEW7a9h8cc+w+kEkKZ9msyiJTzxiTy7d9Yob6bNOEfhTAIUk5jK+a9qqYjDILaps75Y6BMcI3fQZyZno3+/8KBNhk7ncQKf4voRwmQRcAaVM0isQ2kUW4MIRykXRQT3zZJcXxYUoNThn0T9RydjzSu14EM5iNY9IdJVTsojihI/Fvfac9K24UAV5d/k8vlrnTJ4feJfDR1LoHNtCa72U8/cuEKFu2WoJg+kmukcW3pOAshRVLaZw7eCUMS+HevG1uG2wLISN3lAyVoqJCyvu+HaoD1wWfnwfxdZxUXDi+T+Pv7niqVs [...]
-      - secure: nTBLE5c295gwHfsMAGLhHz3Dr8eUFlEj/T6kRyVmlQ7ouvs8V97FUznlh0KwRazG0cZ5H0iXm8JxOYac3J04pvK+wOc4BpUq4WYlgBeypo0pcBp4G+5yM3+JoA0B3YbVIDKvZ6o3EBOMQ2vK/kjhe3SpOOTO4wJmfRsCx5bnbFmNKA2C8/DXDGhzfM5tfSapbc4QVYhKxSyUpq+izYGY9BZvcGxRPXLaiIxVLex3ZGpuOtrzl8gTwVnWqlQ5yYTUUdNcdJW7H1AwIlgkKKMS9+3q0KqXrJ0EtvRgbvnWdIKh1/0rOA6i4S0XgCV4mYTDqnZWO6sg3CUnAd2hFTyRI9acSWAzifkTyZD2gfsDgvsv/JQOuTOW1hZQ2g9et+vIW0wbRvIprf+wbRsNxdE7uUpGFJ9TYZJDPG6HJwqaoqyo6rcLS7T7kE6o0EZJTMw3Rq1TaSU65Ta4hvO2muEXtpPHEHh6 [...]
-  jobs:
-    - RUN_TEST_GROUP=build
-    - RUN_TEST_GROUP=default
-    - RUN_TEST_GROUP=group1
-    - RUN_TEST_GROUP=coverage
+  - RUN_TEST_GROUP=build
+  - RUN_TEST_GROUP=default
+  - RUN_TEST_GROUP=group1
+  - RUN_TEST_GROUP=coverage
 
 jdk:
   - openjdk8
diff --git a/build.gradle b/build.gradle
index f7cc8a2..74eec27 100644
--- a/build.gradle
+++ b/build.gradle
@@ -42,7 +42,6 @@ buildscript {
   }
   dependencies {
     classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0"
-    classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.+'
   }
 }
 
@@ -132,7 +131,6 @@ apply from: 'gradle/scripts/sourcesJar.gradle'
 
 apply from: 'gradle/scripts/mavenPublishing.gradle'
 apply from: 'gradle/scripts/nexusPublishing.gradle'
-apply from: 'gradle/scripts/bintrayPublishing.gradle'
 apply from: 'gradle/scripts/javaVersionCheck.gradle'
 
 apply from: 'gradle/scripts/rat.gradle'
@@ -153,12 +151,6 @@ allprojects {
   }
 }
 
-task printVersionName {
-  doLast {
-    println project.version
-  }
-}
-
 rat {
   excludes = [
     '**/.git/**',
diff --git a/gobblin-binary-management/build.gradle b/gobblin-binary-management/build.gradle
index ee8dd9d..be482cd 100644
--- a/gobblin-binary-management/build.gradle
+++ b/gobblin-binary-management/build.gradle
@@ -25,9 +25,9 @@ dependencies {
   compile externalDependency.avroMapredH2
   compile externalDependency.guava
   compile externalDependency.hadoopHdfs
-  runtimeOnly externalDependency.hadoopCommon
-  runtimeOnly externalDependency.hadoopClientCore
-  runtimeOnly externalDependency.hadoopAuth
+  runtime externalDependency.hadoopCommon
+  runtime externalDependency.hadoopClientCore
+  runtime externalDependency.hadoopAuth
   compile externalDependency.hiveMetastore
   compile externalDependency.hiveExec
   compile externalDependency.lombok
diff --git a/gobblin-cluster/build.gradle b/gobblin-cluster/build.gradle
index 2c8d697..e52854d 100644
--- a/gobblin-cluster/build.gradle
+++ b/gobblin-cluster/build.gradle
@@ -50,7 +50,7 @@ dependencies {
   compile externalDependency.findBugsAnnotations
   compile externalDependency.helix
 
-  runtimeOnly project(":gobblin-modules:gobblin-service-kafka")
+  runtime project(":gobblin-modules:gobblin-service-kafka")
 
   testCompile project(":gobblin-example")
 
@@ -71,7 +71,6 @@ configurations {
 
 artifacts {
   tests testJar
-  archives testJar
 }
 
 configurations {
@@ -86,18 +85,6 @@ configurations {
   }
 }
 
-project.publishing {
-  publications {
-    testsPub(MavenPublication) {
-      artifactId "test-${project.archivesBaseName}"
-      artifacts = [testJar]
-      pom pomAttributes
-      pom.withXml addRuntimeDependenciesToPom
-    }
-  }
-}
-addPublicationToBintray("testsPub")
-
 test {
   workingDir rootProject.rootDir
   maxParallelForks = 1
diff --git a/gobblin-compaction/build.gradle b/gobblin-compaction/build.gradle
index a2ae20e..7f8a450 100644
--- a/gobblin-compaction/build.gradle
+++ b/gobblin-compaction/build.gradle
@@ -34,7 +34,7 @@ dependencies {
   compile project(path: ":gobblin-modules:gobblin-orc-dep", configuration:"shadow")
 
   compile externalDependency.calciteCore
-  testCompile externalDependency.calciteAvatica
+  compile externalDependency.calciteAvatica
   compile externalDependency.jhyde
   compile externalDependency.avro
   compile externalDependency.commonsLang
@@ -42,21 +42,21 @@ dependencies {
   compile externalDependency.mockito
   compile externalDependency.testng
 
-  runtimeOnly externalDependency.hadoopCommon
-  runtimeOnly externalDependency.hadoopClientCore
-  runtimeOnly externalDependency.hadoopHdfs
-  runtimeOnly externalDependency.hadoopAuth
+  runtime externalDependency.hadoopCommon
+  runtime externalDependency.hadoopClientCore
+  runtime externalDependency.hadoopHdfs
+  runtime externalDependency.hadoopAuth
 
-  runtimeOnly(externalDependency.hiveService) {
+  runtime(externalDependency.hiveService) {
     exclude group: 'org.apache.hive', module: 'hive-exec'
   }
-  runtimeOnly externalDependency.hiveJdbc
-  runtimeOnly externalDependency.hiveMetastore
-  runtimeOnly externalDependency.antlrRuntime
-  runtimeOnly externalDependency.derby
-  runtimeOnly externalDependency.jdo2
-  runtimeOnly externalDependency.datanucleusCore
-  runtimeOnly externalDependency.datanucleusRdbms
+  runtime externalDependency.hiveJdbc
+  runtime externalDependency.hiveMetastore
+  runtime externalDependency.antlrRuntime
+  runtime externalDependency.derby
+  runtime externalDependency.jdo2
+  runtime externalDependency.datanucleusCore
+  runtime externalDependency.datanucleusRdbms
 
   testCompile externalDependency.testng
 }
diff --git a/gobblin-core/build.gradle b/gobblin-core/build.gradle
index 9beee22..d0b9a9b 100644
--- a/gobblin-core/build.gradle
+++ b/gobblin-core/build.gradle
@@ -58,7 +58,7 @@ dependencies {
   compile externalDependency.opencsv
   compile externalDependency.hadoopHdfs
 
-  runtimeOnly externalDependency.protobuf
+  runtime externalDependency.protobuf
 
   testRuntime externalDependency.hadoopAws
   testCompile externalDependency.calciteCore
diff --git a/gobblin-example/build.gradle b/gobblin-example/build.gradle
index f779126..441ea8e 100644
--- a/gobblin-example/build.gradle
+++ b/gobblin-example/build.gradle
@@ -22,8 +22,8 @@ dependencies {
     compile project(":gobblin-core")
     compile project(":gobblin-runtime")
     compile project(":gobblin-data-management")
-    runtimeOnly project(":gobblin-modules:gobblin-kafka-08")
-    runtimeOnly project(":gobblin-modules:gobblin-eventhub")
+    runtime project(":gobblin-modules:gobblin-kafka-08")
+    runtime project(":gobblin-modules:gobblin-eventhub")
     compile project(":gobblin-modules:gobblin-http")
     compile project(":gobblin-modules:gobblin-parquet")
     compile externalDependency.avro
diff --git a/gobblin-metastore/build.gradle b/gobblin-metastore/build.gradle
index 64850a1..a78df44 100644
--- a/gobblin-metastore/build.gradle
+++ b/gobblin-metastore/build.gradle
@@ -37,7 +37,7 @@ dependencies {
     compile externalDependency.lombok
     compile externalDependency.reflections
 
-    runtimeOnly externalDependency.mysqlConnector
+    runtime externalDependency.mysqlConnector
 
     testCompile externalDependency.testng
     testCompile externalDependency.embeddedProcess
diff --git a/gobblin-modules/gobblin-azure-datalake/build.gradle b/gobblin-modules/gobblin-azure-datalake/build.gradle
index 9d44004..5eab394 100644
--- a/gobblin-modules/gobblin-azure-datalake/build.gradle
+++ b/gobblin-modules/gobblin-azure-datalake/build.gradle
@@ -18,7 +18,7 @@
 apply plugin: 'java'
 
 dependencies {
-    runtimeOnly externalDependency.hadoopAdl
+    runtime externalDependency.hadoopAdl
 }
 
 configurations {
diff --git a/gobblin-modules/gobblin-kafka-08/build.gradle b/gobblin-modules/gobblin-kafka-08/build.gradle
index 78a2a39..49c44a5 100644
--- a/gobblin-modules/gobblin-kafka-08/build.gradle
+++ b/gobblin-modules/gobblin-kafka-08/build.gradle
@@ -50,10 +50,10 @@ dependencies {
   compile externalDependency.typesafeConfig
   compile externalDependency.findBugsAnnotations
 
-  runtimeOnly externalDependency.confluentAvroSerializer
-  runtimeOnly externalDependency.confluentJsonSerializer
-  runtimeOnly externalDependency.confluentSchemaRegistryClient
-  runtimeOnly externalDependency.protobuf
+  runtime externalDependency.confluentAvroSerializer
+  runtime externalDependency.confluentJsonSerializer
+  runtime externalDependency.confluentSchemaRegistryClient
+  runtime externalDependency.protobuf
 
   testCompile project(":gobblin-modules:gobblin-service-kafka")
   testCompile project(":gobblin-runtime")
diff --git a/gobblin-modules/gobblin-kafka-09/build.gradle b/gobblin-modules/gobblin-kafka-09/build.gradle
index 44a8bd2..b33eb55 100644
--- a/gobblin-modules/gobblin-kafka-09/build.gradle
+++ b/gobblin-modules/gobblin-kafka-09/build.gradle
@@ -45,10 +45,10 @@ dependencies {
   compile externalDependency.typesafeConfig
   compile externalDependency.findBugsAnnotations
 
-  runtimeOnly externalDependency.confluentAvroSerializer
-  runtimeOnly externalDependency.confluentJsonSerializer
-  runtimeOnly externalDependency.confluentSchemaRegistryClient
-  runtimeOnly externalDependency.protobuf
+  runtime externalDependency.confluentAvroSerializer
+  runtime externalDependency.confluentJsonSerializer
+  runtime externalDependency.confluentSchemaRegistryClient
+  runtime externalDependency.protobuf
 
   testCompile project(":gobblin-service")
   testCompile project(":gobblin-modules:gobblin-service-kafka")
diff --git a/gobblin-modules/gobblin-orc-dep/build.gradle b/gobblin-modules/gobblin-orc-dep/build.gradle
index e3f41eb..6120649 100644
--- a/gobblin-modules/gobblin-orc-dep/build.gradle
+++ b/gobblin-modules/gobblin-orc-dep/build.gradle
@@ -52,7 +52,6 @@ configurations {
 
 shadowJar {
   zip64 true
-  classifier ""
 
   dependencies {
     exclude dependency('org.slf4j:.*')
@@ -63,15 +62,4 @@ shadowJar {
   relocate 'com.google', 'shadow.gobblin.orc.com.google'
 }
 
-publishing {
-  publications {
-    shadowPub(MavenPublication) {
-      artifacts = [shadowJar]
-      pom pomAttributes
-      pom.withXml addRuntimeDependenciesToPom
-    }
-  }
-}
-addPublicationToBintray("shadowPub")
-
 ext.classification="library"
diff --git a/gobblin-rest-service/gobblin-rest-api/build.gradle b/gobblin-rest-service/gobblin-rest-api/build.gradle
index 5318611..6745aa3 100644
--- a/gobblin-rest-service/gobblin-rest-api/build.gradle
+++ b/gobblin-rest-service/gobblin-rest-api/build.gradle
@@ -112,25 +112,6 @@ artifacts {
     archives dataTemplateSourcesJar, dataTemplateJavadocJar, restClientSourcesJar, restClientJavadocJar
 }
 
-publishing {
-  publications {
-    dataTemplate(MavenPublication) {
-      artifactId dataTemplateName
-      artifacts = [mainDataTemplateJar, dataTemplateSourcesJar, dataTemplateJavadocJar]
-      pom pomAttributes
-      pom.withXml addRuntimeDependenciesToPom
-    }
-    restClient(MavenPublication) {
-      artifactId restClientName
-      artifacts = [mainRestClientJar, restClientSourcesJar, restClientJavadocJar]
-      pom pomAttributes
-      pom.withXml addRuntimeDependenciesToPom
-    }
-  }
-}
-addPublicationToBintray("dataTemplate")
-addPublicationToBintray("restClient")
-
 buildscript {
     repositories {
         mavenCentral()
diff --git a/gobblin-restli/api.gradle b/gobblin-restli/api.gradle
index f1b5ab4..688dae8 100644
--- a/gobblin-restli/api.gradle
+++ b/gobblin-restli/api.gradle
@@ -94,18 +94,6 @@ if (file("${project.projectDir}/src/main/idl").exists()) {
   artifacts {
     archives mainRestClientJar, restClientSourcesJar, restClientJavadocJar
   }
-
-  publishing {
-    publications {
-      restClient(MavenPublication) {
-        artifactId restClientName
-        artifacts = [mainRestClientJar, restClientSourcesJar, restClientJavadocJar]
-        pom pomAttributes
-        pom.withXml addRuntimeDependenciesToPom
-      }
-    }
-  }
-  addPublicationToBintray("restClient")
 }
 
 install {
@@ -135,15 +123,3 @@ if (rootProject.ext.publishToMaven || rootProject.ext.publishToNexus) {
     }
   }
 }
-
-publishing {
-  publications {
-    dataTemplate(MavenPublication) {
-      artifactId dataTemplateName
-      artifacts = [mainDataTemplateJar, dataTemplateSourcesJar, dataTemplateJavadocJar]
-      pom pomAttributes
-      pom.withXml addRuntimeDependenciesToPom
-    }
-  }
-}
-addPublicationToBintray("dataTemplate")
diff --git a/gobblin-tunnel/build.gradle b/gobblin-tunnel/build.gradle
index 4577011..647aae6 100644
--- a/gobblin-tunnel/build.gradle
+++ b/gobblin-tunnel/build.gradle
@@ -23,7 +23,7 @@ dependencies {
 
   compile externalDependency.slf4j
 
-  runtimeOnly externalDependency.mysqlConnector
+  runtime externalDependency.mysqlConnector
 
   testCompile externalDependency.mockserver
   testCompile externalDependency.testng
diff --git a/gobblin-utility/build.gradle b/gobblin-utility/build.gradle
index a8588a9..485641b 100644
--- a/gobblin-utility/build.gradle
+++ b/gobblin-utility/build.gradle
@@ -48,9 +48,9 @@ dependencies {
   compile externalDependency.hadoopHdfs
   compile externalDependency.groovy
 
-  runtimeOnly externalDependency.hadoopCommon
-  runtimeOnly externalDependency.hadoopClientCore
-  runtimeOnly externalDependency.hadoopAuth
+  runtime externalDependency.hadoopCommon
+  runtime externalDependency.hadoopClientCore
+  runtime externalDependency.hadoopAuth
 
   testCompile externalDependency.hamcrest
   testCompile externalDependency.testng
diff --git a/gradle/scripts/bintrayPublishing.gradle b/gradle/scripts/bintrayPublishing.gradle
deleted file mode 100644
index df5a8ee..0000000
--- a/gradle/scripts/bintrayPublishing.gradle
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import org.gradle.api.internal.java.JavaLibrary
-
-ext.pomAttributes = {
-  packaging = 'jar'
-  // optionally artifactId can be defined here
-  name = 'Apache Gobblin (incubating)'
-  description = 'A distributed data integration framework for streaming and batch data ecosystems.'
-  url = 'https://gobblin.apache.org/'
-
-  scm {
-    url = 'https://git-wip-us.apache.org/repos/asf?p=incubator-gobblin.git;a=tree'
-    connection = 'scm:http://git-wip-us.apache.org/repos/asf/incubator-gobblin.git'
-    developerConnection = 'scm:https://git-wip-us.apache.org/repos/asf/incubator-gobblin.git'
-  }
-
-  licenses {
-    license {
-      name = 'The Apache License, Version 2.0'
-      url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
-    }
-  }
-}
-
-subprojects{
-  plugins.withType(JavaPlugin) {
-    plugins.apply('maven-publish')
-    publishing {
-      publications {
-        mavenJava(MavenPublication) {
-          from components.java
-          artifact sourcesJar
-          artifact javadocJar
-
-          pom pomAttributes
-        }
-      }
-    }
-  }
-
-  plugins.apply('com.jfrog.bintray')
-  bintray {
-    user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
-    key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
-    publications = ["mavenJava"]
-    publish = true
-    dryRun = project.hasProperty("bintray.dryRun")
-    pkg {
-      repo = 'maven'
-      name = 'gobblin-github'
-      userOrg = 'linkedin'
-      licenses = ['Apache-2.0']
-      vcsUrl = 'https://github.com/apache/incubator-gobblin.git'
-      version {
-        name = project.version
-        desc = 'Apache Gobblin'
-        released = new Date()
-        // disable gpg signing to speed up publishing
-        gpg {
-          sign = false
-        }
-        // disable upload to maven central
-        mavenCentralSync {
-          sync = false
-        }
-      }
-    }
-  }
-
-  tasks.bintrayUpload {
-    doFirst {
-      println "Running bintrayUpload for $project.name "
-    }
-  }
-
-  ext.addPublicationToBintray = { pubName ->
-    def newC = project.bintray.publications.collect()
-    newC.add(pubName)
-    project.bintray.publications = newC
-  }
-
-  ext.addRuntimeDependenciesToPom = {
-    def dependenciesNode = asNode().appendNode('dependencies')
-    configurations.runtime.allDependencies.each {
-      if (it.group != null && it.name != null) {
-        def dependencyNode = dependenciesNode.appendNode('dependency')
-        dependencyNode.appendNode('groupId', it.group)
-        dependencyNode.appendNode('artifactId', it.name)
-        dependencyNode.appendNode('version', it.version)
-
-        if (it.excludeRules.size() > 0) {
-          def exclusionsNode = dependencyNode.appendNode('exclusions')
-          it.excludeRules.each { rule ->
-            def exclusionNode = exclusionsNode.appendNode('exclusion')
-            exclusionNode.appendNode('groupId', rule.group)
-            exclusionNode.appendNode('artifactId', rule.module)
-          }
-        }
-      }
-    }
-  }
-
-}
\ No newline at end of file
diff --git a/gradle/scripts/mavenPublishing.gradle b/gradle/scripts/mavenPublishing.gradle
index 9a72c8c..799464c 100644
--- a/gradle/scripts/mavenPublishing.gradle
+++ b/gradle/scripts/mavenPublishing.gradle
@@ -64,6 +64,74 @@ gradle.taskGraph.afterTask {
   }
 }
 
+ext.pomAttributes = {
+  packaging 'jar'
+  // optionally artifactId can be defined here
+  name 'Apache Gobblin (incubating)'
+  description 'A distributed data integration framework for streaming and batch data ecosystems.'
+  url 'https://gobblin.apache.org/'
+
+  scm {
+    url 'https://git-wip-us.apache.org/repos/asf?p=incubator-gobblin.git;a=tree'
+    connection 'scm:http://git-wip-us.apache.org/repos/asf/incubator-gobblin.git'
+    developerConnection 'scm:https://git-wip-us.apache.org/repos/asf/incubator-gobblin.git'
+  }
+
+  licenses {
+    license {
+      name 'The Apache License, Version 2.0'
+      url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
+    }
+  }
+
+  developers {
+    developer {
+      name 'Abhishek Tiwari'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Chavdar Botev'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Issac Buenrostro'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Min Tu'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Narasimha Veeramreddy'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Pradhan Cadabam'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Sahil Takiar'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Shirshanka Das'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Yinan Li'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Ying Dai'
+      organization 'LinkedIn'
+    }
+    developer {
+      name 'Ziyang Liu'
+      organization 'LinkedIn'
+    }
+  }
+}
+
 subprojects {
   plugins.withType(JavaPlugin) {
     plugins.apply('maven')
diff --git a/gradle/scripts/nexusPublishing.gradle b/gradle/scripts/nexusPublishing.gradle
index 7fa8e95..86d89b3 100644
--- a/gradle/scripts/nexusPublishing.gradle
+++ b/gradle/scripts/nexusPublishing.gradle
@@ -64,6 +64,74 @@ gradle.taskGraph.afterTask {
     }
 }
 
+ext.pomAttributes = {
+    packaging 'jar'
+    // optionally artifactId can be defined here
+    name 'Apache Gobblin (incubating)'
+    description 'A distributed data integration framework for streaming and batch data ecosystems.'
+    url 'https://gobblin.apache.org/'
+
+    scm {
+        url 'https://git-wip-us.apache.org/repos/asf?p=incubator-gobblin.git;a=tree'
+        connection 'scm:http://git-wip-us.apache.org/repos/asf/incubator-gobblin.git'
+        developerConnection 'scm:https://git-wip-us.apache.org/repos/asf/incubator-gobblin.git'
+    }
+
+    licenses {
+        license {
+            name 'The Apache License, Version 2.0'
+            url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
+        }
+    }
+
+    developers {
+        developer {
+            name 'Abhishek Tiwari'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Chavdar Botev'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Issac Buenrostro'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Min Tu'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Narasimha Veeramreddy'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Pradhan Cadabam'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Sahil Takiar'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Shirshanka Das'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Yinan Li'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Ying Dai'
+            organization 'LinkedIn'
+        }
+        developer {
+            name 'Ziyang Liu'
+            organization 'LinkedIn'
+        }
+    }
+}
+
 subprojects {
     plugins.withType(JavaPlugin) {
         plugins.apply('maven')
diff --git a/travis/bintrayDeploy.sh b/travis/bintrayDeploy.sh
deleted file mode 100755
index 57f27e9..0000000
--- a/travis/bintrayDeploy.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-#
-# Test script used by Travis to test the
-# hadoop1 or hadoop2 versions of gobblin.
-#
-
-#!/bin/bash
-set -e
-
-echo "Starting $0 at " $(date)
-PROJECT_VERSION=$(./gradlew properties -q | grep "version:" | awk '{print $2}')
-
-echo "Project Version: $PROJECT_VERSION"
-BUILD_VERSION=$PROJECT_VERSION-dev-${TRAVIS_BUILD_NUMBER}
-echo "Build Version: $BUILD_VERSION"
-
-echo "Pull request: [$TRAVIS_PULL_REQUEST], Travis branch: [$TRAVIS_BRANCH]"
-# release only from master when no pull request build
-if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]
-then
-    echo "Uploading artifacts to bintray for version $BUILD_VERSION"
-    ./gradlew -i bintrayUpload -Pversion=$BUILD_VERSION
-fi
\ No newline at end of file