forked from pool/buildnumber-maven-plugin
Accepting request 963833 from Java:packages
Build with source/target levels 8 OBS-URL: https://build.opensuse.org/request/show/963833 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/buildnumber-maven-plugin?expand=0&rev=2
This commit is contained in:
commit
e7edd8fa25
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 06:44:55 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 07:41:13 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package buildnumber-maven-plugin
|
||||
#
|
||||
# Copyright (c) 2020 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
|
||||
@ -20,11 +20,12 @@ Name: buildnumber-maven-plugin
|
||||
Version: 1.3
|
||||
Release: 0
|
||||
Summary: Build Number Maven Plugin
|
||||
License: MIT AND Apache-2.0
|
||||
License: Apache-2.0 AND MIT
|
||||
URL: http://svn.codehaus.org/mojo/tags/buildnumber-maven-plugin-%{version}
|
||||
Source0: https://repo1.maven.org/maven2/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: unzip
|
||||
BuildRequires: mvn(net.java.dev.jna:jna)
|
||||
@ -83,13 +84,10 @@ cp -p %{SOURCE1} .
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
%pom_remove_plugin :maven-invoker-plugin
|
||||
|
||||
# junit dependency was removed in Plexus 1.6
|
||||
%pom_add_dep junit:junit::test
|
||||
|
||||
%build
|
||||
%{mvn_build} -f -- \
|
||||
-Dsource=6 -Dmaven.compiler.source=6 \
|
||||
-Dmaven.compiler.target=6 -Dmojo.java.target=6
|
||||
-Dsource=8 -Dmaven.compiler.source=8 \
|
||||
-Dmaven.compiler.target=8 -Dmojo.java.target=8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user