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