You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by in...@apache.org on 2018/07/02 02:57:21 UTC

incubator-hawq git commit: HAWQ-1633. Add parameter for maven package hawq-hadoop

Repository: incubator-hawq
Updated Branches:
  refs/heads/master aaa2c8cdf -> 5920b817e


HAWQ-1633. Add parameter for maven package hawq-hadoop


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/5920b817
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/5920b817
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/5920b817

Branch: refs/heads/master
Commit: 5920b817ed3203be847da3a29af85378d020e293
Parents: aaa2c8c
Author: Weinan Wang <we...@pivotal.io>
Authored: Fri Jun 29 13:29:57 2018 +0800
Committer: Weinan Wang <we...@pivotal.io>
Committed: Fri Jun 29 16:36:24 2018 +0800

----------------------------------------------------------------------
 contrib/hawq-hadoop/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5920b817/contrib/hawq-hadoop/Makefile
----------------------------------------------------------------------
diff --git a/contrib/hawq-hadoop/Makefile b/contrib/hawq-hadoop/Makefile
index aa582c5..d017a16 100644
--- a/contrib/hawq-hadoop/Makefile
+++ b/contrib/hawq-hadoop/Makefile
@@ -40,7 +40,11 @@ all: $(DEFAULTTARGET)
 
 $(DEFAULTTARGET):
 ifdef MAVEN
+ifeq ($(shell java -version 2>&1 | grep 1.7.0 > /dev/null; printf $$?),0)
+	$(MAVEN) package -DskipTests -Dhttps.protocols=TLSv1.2
+else
 	$(MAVEN) package -DskipTests
+endif
 else
 	@$(missing) mvn $< $@
 endif