mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
apache-maven: fix build
Need to set JAVA_HOME before build.
This commit is contained in:
parent
ad415836fb
commit
8a5b24e4de
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue