This commit is contained in:
parent
84fe686a79
commit
7c037e1f04
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package maven
|
||||
# spec file for package maven-surefire-plugins
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -168,7 +168,11 @@ for i in \
|
||||
maven-surefire-plugin \
|
||||
maven-surefire-report-plugin; do
|
||||
pushd ${i}
|
||||
%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
|
||||
|
||||
popd
|
||||
%mvn_artifact ${i}/pom.xml ${i}/target/${i}-%{version}.jar
|
||||
if [ -d ${i}/target/site/apidocs ]; then
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package maven
|
||||
# spec file for package maven-surefire-provider-junit5
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package maven-surefire
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
Loading…
Reference in New Issue
Block a user