Fridrich Strba 2019-11-22 16:17:16 +00:00 committed by Git OBS Bridge
parent 2d4adbcb91
commit 01632a6f93

View File

@ -57,7 +57,10 @@ perl -pi -e 's#org\.sonatype\.aether\.repository#org.eclipse.aether.repository#g
mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MavenCompatibilityHelper.java mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MavenCompatibilityHelper.java
%build %build
%mvn_build -f -- -Dmaven.compiler.release=6 %mvn_build -f \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=6
%endif
%install %install
%mvn_install %mvn_install