From 22bd851047c4ada20108754f3d15fbd8fe7b065a Mon Sep 17 00:00:00 2001 From: Mina Lee Date: Mon, 10 Oct 2016 22:05:03 +0900 Subject: [PATCH] [BUILD][MINOR] Change build profile for distributing artifact to maven repository ### What is this PR for? While removing duplication of specifying build profile in #1321, build profile has been changed from `-Ppublish-distr` to `-Pbuild-distr`. We need to restore this change and use `-Ppublish-distr` profile to publish `*.javadoc.jar ` and `*.sources.jar`. ### What type of PR is it? Hot Fix ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Mina Lee Closes #1506 from minahlee/build_profile and squashes the following commits: b84b371 [Mina Lee] Change build profile for distributing artifact to maven repository --- dev/publish_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/publish_release.sh b/dev/publish_release.sh index 3a0a0f52f42..fd1083ac974 100755 --- a/dev/publish_release.sh +++ b/dev/publish_release.sh @@ -44,7 +44,7 @@ NC='\033[0m' # No Color RELEASE_VERSION="$1" GIT_TAG="$2" -PUBLISH_PROFILES="-Pbuild-distr -Pspark-2.0 -Phadoop-2.4 -Pyarn -Ppyspark -Psparkr -Pr" +PUBLISH_PROFILES="-Ppublish-distr -Pspark-2.0 -Phadoop-2.4 -Pyarn -Ppyspark -Psparkr -Pr" PROJECT_OPTIONS="-pl !zeppelin-distribution" NEXUS_STAGING="https://repository.apache.org/service/local/staging" NEXUS_PROFILE="153446d1ac37c4"