This commit is contained in:
parent
d5e395247e
commit
375a5fc79a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user