This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new b08e806 [java] Disable install of unpublished jars
b08e806 is described below
commit b08e80618e6b562db7897d853d9b2b5cf65a6a4f
Author: Grant Henke <[email protected]>
AuthorDate: Thu Sep 12 09:34:40 2019 -0500
[java] Disable install of unpublished jars
We don’t publish the kudu-jepsen and kudu-backup-common jars
when releasing but currently we still install them into the local Maven
repository when running `gradle install`.
For consistency this patch disables the `install` task for unpublished jars
to match the disabled `uploadArchives` task.
Change-Id: Ie142c373d7c33374a7515da807e650f708c002b3
Reviewed-on: http://gerrit.cloudera.org:8080/14224
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
java/kudu-backup-common/build.gradle | 3 ++-
java/kudu-jepsen/build.gradle | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/java/kudu-backup-common/build.gradle
b/java/kudu-backup-common/build.gradle
index 65983ec..f5d76dd 100644
--- a/java/kudu-backup-common/build.gradle
+++ b/java/kudu-backup-common/build.gradle
@@ -55,4 +55,5 @@ javadoc {
// Skip publishing kudu-backup-common artifact because it will always be
shaded into
// kudu-backup and kudu-backup-tools.
-uploadArchives.enabled = false
\ No newline at end of file
+uploadArchives.enabled = false
+install.enabled = false
\ No newline at end of file
diff --git a/java/kudu-jepsen/build.gradle b/java/kudu-jepsen/build.gradle
index f143e31..f03241c 100644
--- a/java/kudu-jepsen/build.gradle
+++ b/java/kudu-jepsen/build.gradle
@@ -59,3 +59,4 @@ task runJepsen(type: JavaExec) {
// We don't publish kudu-jepsen
uploadArchives.enabled = false
+install.enabled = false
\ No newline at end of file