Fridrich Strba 2019-11-22 16:25:16 +00:00 committed by Git OBS Bridge
parent d5e395247e
commit 375a5fc79a

View File

@ -120,11 +120,15 @@ mkdir -p plexus-component-annotations/src/test/java
%build %build
pushd %{comp_name} pushd %{comp_name}
%{mvn_file} :%{comp_name} %{base_name}/%{comp_name} %{mvn_file} :%{comp_name} %{base_name}/%{comp_name}
%if %{with tests} %{mvn_build} \
%{mvn_build} -- -Dmaven.compiler.release=6 %if %{without tests}
%else -f \
%{mvn_build} -f -- -Dmaven.compiler.release=6
%endif %endif
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=6
%endif
# empty line, keep
popd popd
%install %install