Fridrich Strba 2022-04-26 17:17:55 +00:00 committed by Git OBS Bridge
parent 2e5b9cb3cf
commit ead433149e
3 changed files with 12 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4cb033f73fc20a51e1b74afb1e709898f6cc5b518e712c9d6109db7e154784d4
size 640677

BIN
maven-invoker-plugin-3.2.2-source-release.zip (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
#
# spec file for package maven-invoker-plugin
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,14 +18,15 @@
%bcond_with groovy
Name: maven-invoker-plugin
Version: 3.2.1
Version: 3.2.2
Release: 0
Summary: Maven Invoker Plugin
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://maven.apache.org/plugins/maven-invoker-plugin/
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
URL: https://maven.apache.org/plugins/maven-invoker-plugin/
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
BuildRequires: unzip
BuildRequires: mvn(commons-io:commons-io)
@ -39,7 +40,7 @@ BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-api)
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-impl)
BuildRequires: mvn(org.apache.maven.shared:maven-artifact-transfer)
BuildRequires: mvn(org.apache.maven.shared:maven-invoker)
BuildRequires: mvn(org.apache.maven.shared:maven-script-interpreter)
BuildRequires: mvn(org.apache.maven.shared:maven-script-interpreter) >= 1.3
BuildRequires: mvn(org.apache.maven:maven-artifact)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-model)
@ -76,10 +77,11 @@ API documentation for %{name}.
%endif
%build
%{mvn_build} -f \
%{mvn_build} -f -- \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=7
-Dmaven.compiler.release=8 \
%endif
-Dsource=8
%install
%mvn_install