HBase build failure caused by protobuf in xolstice
@@ -28,6 +28,7 @@ if [ $HOSTTYPE = "powerpc64le" ] ; then
sed -i "s|<asciidoctor.plugin.version>.*</asciidoctor.plugin.version>|<asciidoctor.plugin.version>1.5.3</asciidoctor.plugin.version>|" pom.xml
sed -i 's|<jruby.version>.*</jruby.version>|<jruby.version>1.7.23</jruby.version>|' pom.xml
sed -i "s|<version>1.5.0-alpha.6</version>|<version>1.5.0-alpha.11</version>|" pom.xml
+ CLASSIFIER="linux-ppcle_64"
fi
if [ $HOSTTYPE = "aarch64" ] ; then
@@ -37,6 +38,7 @@ if [ $HOSTTYPE = "aarch64" ] ; then
'\ <artifactId>jruby-complete<\/artifactId>\n'\
'\ <version>9.1.8.0</version>\n'\
'\ <\/dependency>' pom.xml
+ CLASSIFIER="linux-aarch_64"
fi
MVN_ARGS="-Phadoop-3.0 "
@@ -48,6 +50,9 @@ MVN_ARGS+="-Dzookeeper.version=${ZOOKEEPER_VERSION} "
MVN_ARGS+="-DskipTests "
MVN_ARGS+="-Dcheckstyle.skip=true "
+mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=2.5.0 \
+ -Dclassifier=${CLASSIFIER} -Dpackaging=exe -Dfile=/usr/local/bin/protoc
+
# HBASE-21513: separate site and assembly:single to avoid assembly issues.
mvn ${MVN_ARGS} ${MAVEN_ADDITIONAL} clean install "$@"
mvn ${MVN_ARGS} ${MAVEN_ADDITIONAL} site "$@"
