diff --git a/srcpkgs/apache-maven/template b/srcpkgs/apache-maven/template index c9603329c2c..cc1e3e56163 100644 --- a/srcpkgs/apache-maven/template +++ b/srcpkgs/apache-maven/template @@ -1,7 +1,7 @@ # Template file for 'apache-maven' pkgname=apache-maven version=3.6.3 -revision=2 +revision=3 hostmakedepends="openjdk8" depends="virtual?java-environment which" short_desc="Software project management and comprehension tool" @@ -15,7 +15,7 @@ checksum="7c1c990ba64dd4f88688120cc2ec93bf33dd500d2a62ae5cd57bd4b7f6335c07 replaces="apache-maven-bin>=0" do_build() { - source /etc/profile.d/10_openjdk8.sh + source /etc/profile.d/openjdk.sh ./bin/mvn package -DskipTests -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/lib/${pkgname} }