apache-maven: fix build

Need to set JAVA_HOME before build.
This commit is contained in:
Jürgen Buchmüller 2020-03-23 15:33:07 +01:00
parent ad415836fb
commit 8a5b24e4de
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ checksum="7c1c990ba64dd4f88688120cc2ec93bf33dd500d2a62ae5cd57bd4b7f6335c07
26ad91d751b3a9a53087aefa743f4e16a17741d3915b219cf74112bf87a438c5"
do_build() {
source /etc/profile.d/10_openjdk8.sh
./bin/mvn package -DskipTests -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/share/${pkgname}/
}