From 64c7b11984539db3ca065421071492ca23a2bb04 Mon Sep 17 00:00:00 2001 From: Robert Metzger Date: Wed, 22 Mar 2017 17:01:41 +0100 Subject: [PATCH] [FLINK-5067][hotfix] Fix snapshot deployment --- tools/deploy_to_maven.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/deploy_to_maven.sh b/tools/deploy_to_maven.sh index c818a42a6d65e..16d529e7f76f4 100755 --- a/tools/deploy_to_maven.sh +++ b/tools/deploy_to_maven.sh @@ -80,11 +80,11 @@ echo "detected current version as: '$CURRENT_FLINK_VERSION'" # # This script deploys our project to sonatype SNAPSHOTS. -# It will deploy both a hadoop v1 and a hadoop v2 (yarn) artifact +# It will deploy a hadoop v2 (yarn) artifact # if [[ $CURRENT_FLINK_VERSION == *SNAPSHOT* ]] ; then - MVN_SNAPSHOT_OPTS="-B -Pdocs-and-source -DskipTests -Drat.skip=true -Drat.ignoreErrors=true \ + MVN_SNAPSHOT_OPTS="-B -Pdocs-and-source,jdk8 -DskipTests -Drat.skip=true -Drat.ignoreErrors=true \ -DretryFailedDeploymentCount=10 --settings deploysettings.xml clean deploy" # hadoop2 scala 2.10