apache-maven: fix build
Need to set JAVA_HOME before build.
This commit is contained in:
parent
ad415836fb
commit
8a5b24e4de
|
@ -15,6 +15,7 @@ checksum="7c1c990ba64dd4f88688120cc2ec93bf33dd500d2a62ae5cd57bd4b7f6335c07
|
||||||
26ad91d751b3a9a53087aefa743f4e16a17741d3915b219cf74112bf87a438c5"
|
26ad91d751b3a9a53087aefa743f4e16a17741d3915b219cf74112bf87a438c5"
|
||||||
|
|
||||||
do_build() {
|
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}/
|
./bin/mvn package -DskipTests -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/share/${pkgname}/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue