aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Raju <ganesh.raju@linaro.org>2016-12-05 19:13:28 +0100
committerFathi Boudra <fathi.boudra@linaro.org>2016-12-06 12:14:37 +0200
commite27e1e63e375c97f18c7546b386200dd6821aebc (patch)
treeccaf9c6f881f3b20253efa229a8275c78e104d17
parent74eb0180f49cca44d040eaa052196e66f4609a59 (diff)
downloadbigtop-odpi-e27e1e63e375c97f18c7546b386200dd6821aebc.tar.gz
Fix build: remove MAVEN_OPTS
-rw-r--r--bigtop-packages/src/common/hadoop/do-component-build3
1 files changed, 2 insertions, 1 deletions
diff --git a/bigtop-packages/src/common/hadoop/do-component-build b/bigtop-packages/src/common/hadoop/do-component-build
index 77b5d7bd..2ebc3b0c 100644
--- a/bigtop-packages/src/common/hadoop/do-component-build
+++ b/bigtop-packages/src/common/hadoop/do-component-build
@@ -129,7 +129,8 @@ HADOOP_DEPLOY_OPTS="${MAVEN_OPTS} deploy"
# Based on Environment Flag, setting the right HADOOP_OPTS with install/deploy.
[[ $deployarg = "yes" ]] && HADOOP_OPTS="${HADOOP_DEPLOY_OPTS}" || HADOOP_OPTS="${HADOOP_INSTALL_OPTS}"
-mvn $ANT_OPTS $BUNDLE_SNAPPY -Pdist -Pnative -Psrc -Dtar -Dtomcat.version=${BIGTOP_TOMCAT_VERSION} -Dtomcat.download.url="http://archive.apache.org/dist/tomcat/tomcat-6/v${BIGTOP_TOMCAT_VERSION}/bin/apache-tomcat-${BIGTOP_TOMCAT_VERSION}.tar.gz" ${HADOOP_OPTS} "$@"
+#mvn $ANT_OPTS $BUNDLE_SNAPPY -Pdist -Pnative -Psrc -Dtar -Dtomcat.version=${BIGTOP_TOMCAT_VERSION} -Dtomcat.download.url="http://archive.apache.org/dist/tomcat/tomcat-6/v${BIGTOP_TOMCAT_VERSION}/bin/apache-tomcat-${BIGTOP_TOMCAT_VERSION}.tar.gz" ${HADOOP_OPTS} "$@"
+mvn clean package -Pdist -Dtar -Dmaven.javadoc.skip=true -DskipTests -fail-at-end -Pnative -Dtomcat.version=${BIGTOP_TOMCAT_VERSION} -Dtomcat.download.url="http://archive.apache.org/dist/tomcat/tomcat-6/v${BIGTOP_TOMCAT_VERSION}/bin/apache-tomcat-${BIGTOP_TOMCAT_VERSION}.tar.gz" ${HADOOP_OPTS} "$@"
mvn site site:stage ${HADOOP_OPTS} $@