Repository: samza
Updated Branches:
  refs/heads/master 6270e40b2 -> 526c1d25d


SAMZA-1593: Upgrade gradle nexus plugin.

Current nexus plugin which samza repository is using is not compatible with the 
gradle versions greater than 3.0.

For doing the ligradle migration at linkedin, we need to update the nexus 
gradle plugin to the latest version.

Author: Shanthoosh Venkataraman <svenkatara...@linkedin.com>

Reviewers: Xinyu Liu <xinyuliu...@gmail.com>

Closes #426 from shanthoosh/master


Project: http://git-wip-us.apache.org/repos/asf/samza/repo
Commit: http://git-wip-us.apache.org/repos/asf/samza/commit/526c1d25
Tree: http://git-wip-us.apache.org/repos/asf/samza/tree/526c1d25
Diff: http://git-wip-us.apache.org/repos/asf/samza/diff/526c1d25

Branch: refs/heads/master
Commit: 526c1d25d0678c08d696059fd0c27dfc469e6cd7
Parents: 6270e40
Author: Shanthoosh Venkataraman <svenkatara...@linkedin.com>
Authored: Thu Feb 22 12:39:10 2018 -0800
Committer: xiliu <xi...@linkedin.com>
Committed: Thu Feb 22 12:39:10 2018 -0800

----------------------------------------------------------------------
 gradle/buildscript.gradle |  2 +-
 gradle/release.gradle     | 11 +++++++----
 2 files changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/samza/blob/526c1d25/gradle/buildscript.gradle
----------------------------------------------------------------------
diff --git a/gradle/buildscript.gradle b/gradle/buildscript.gradle
index a2bdb35..6b52d2f 100644
--- a/gradle/buildscript.gradle
+++ b/gradle/buildscript.gradle
@@ -27,5 +27,5 @@ repositories {
 
 dependencies {
   classpath 'de.obqo.gradle:gradle-lesscss-plugin:1.0-1.3.3'
-  classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1'
+  classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
 }

http://git-wip-us.apache.org/repos/asf/samza/blob/526c1d25/gradle/release.gradle
----------------------------------------------------------------------
diff --git a/gradle/release.gradle b/gradle/release.gradle
index e501098..da11540 100644
--- a/gradle/release.gradle
+++ b/gradle/release.gradle
@@ -55,17 +55,20 @@ task sourceRelease(type: Tar) {
 // Publishing to Apache's Maven repository (Nexus). To test this locally, set
 // repositoryUrl and snapshotRepositoryUrl below to 
'file://localhost/tmp/myRepo'
 subprojects {
-  apply plugin: 'nexus'
+  apply plugin: 'com.bmuschko.nexus'
 
   nexus {
-    attachSources = true
-    attachTests = false
-    attachJavadoc = true
     sign = true
     repositoryUrl = 
'https://repository.apache.org/service/local/staging/deploy/maven2'
     snapshotRepositoryUrl = 
'https://repository.apache.org/content/repositories/snapshots'
   }
 
+  extraArchive {
+    sources = true
+    tests = false
+    javadoc = true
+  }
+
   modifyPom {
     project {
       name 'Apache Samza'

Reply via email to