Use maven instead of ant when building zookeeper

Test: zookeeper
pull/363/head
pataar 2021-06-30 10:27:13 +02:00
parent 2d863801ee
commit c9ebe98a61
1 changed files with 5 additions and 5 deletions

View File

@ -968,7 +968,7 @@ buildRequiredPackageLists() {
;;
zookeeper@alpine)
if ! test -f /usr/local/include/zookeeper/zookeeper.h; then
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile apache-ant automake libtool openjdk8"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile maven automake libtool openjdk8"
fi
;;
zookeeper@debian)
@ -2209,7 +2209,7 @@ installRemoteModule() {
fi
installRemoteModule_src="$(getPackageSource https://downloads.apache.org/zookeeper/stable/$installRemoteModule_tmp)"
cd -- "$installRemoteModule_src"
ant compile_jute
mvn -pl zookeeper-jute compile
cd - >/dev/null
cd -- "$installRemoteModule_src/zookeeper-client/zookeeper-client-c"
autoreconf -if