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
pushd %{comp_name}
%{mvn_file} :%{comp_name} %{base_name}/%{comp_name}
%if %{with tests}
%{mvn_build} -- -Dmaven.compiler.release=6
%else
%{mvn_build} -f -- -Dmaven.compiler.release=6
%{mvn_build} \
%if %{without tests}
-f \
%endif
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=6
%endif
# empty line, keep
popd
%install