diff --git a/srcpkgs/apache-maven/template b/srcpkgs/apache-maven/template index b2aab18e0c4..a6c9fd3e5a2 100644 --- a/srcpkgs/apache-maven/template +++ b/srcpkgs/apache-maven/template @@ -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}/ }