2023-10-26 10:35:32 +00:00
committed by Git OBS Bridge
parent 13462f016e
commit 8a910ca607
+4 -1
View File
@@ -1,7 +1,7 @@
#
# spec file for package maven-toolchains-plugin
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@ License: Apache-2.0
URL: https://maven.apache.org/plugins/maven-toolchains-plugin/
Source0: %{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
@@ -47,6 +48,8 @@ API documentation for %{name}.
%prep
%setup -q
%pom_xpath_set "pom:project/pom:properties/pom:javaVersion" "8"
%build
%{mvn_build} -f -- -Dsource=8