From a51db0d5f3072deef387dbda89bdce4530f0987db365a074efeeb19def909cfa Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 22 Nov 2019 07:50:05 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-osgi?expand=0&rev=4 --- maven-osgi.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-osgi.spec b/maven-osgi.spec index 1ad37ac..c80bcd5 100644 --- a/maven-osgi.spec +++ b/maven-osgi.spec @@ -1,7 +1,7 @@ # # spec file for package maven-osgi # -# Copyright (c) 2018 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 @@ -31,11 +31,11 @@ Source0: %{name}-%{version}.tar.xz Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: fdupes BuildRequires: maven-local +BuildRequires: xz BuildRequires: mvn(biz.aQute:bndlib) BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) BuildRequires: mvn(org.apache.maven:maven-project) BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) -BuildRequires: xz BuildArch: noarch %description @@ -62,7 +62,7 @@ sed -i 's/import aQute\.lib\.osgi/import aQute.bnd.osgi/g' src/main/java/org/apa %build # Tests depend on binary JARs which were removed from sources -%{mvn_build} -f +%{mvn_build} -f -- -Dmaven.compiler.release=6 %install %mvn_install From 868526548efa822b366e9d863a09fff028f15ce82e550d05fc690e45c155604f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 22 Nov 2019 15:49:27 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-osgi?expand=0&rev=5 --- maven-osgi.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/maven-osgi.spec b/maven-osgi.spec index c80bcd5..c40d36a 100644 --- a/maven-osgi.spec +++ b/maven-osgi.spec @@ -61,8 +61,10 @@ sed -i 's/import aQute\.lib\.osgi/import aQute.bnd.osgi/g' src/main/java/org/apa %pom_xpath_set "pom:artifactId[text()='plexus-maven-plugin']" plexus-component-metadata %build -# Tests depend on binary JARs which were removed from sources -%{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 %install %mvn_install From fcd80bcb7e3d694f0ef36e31369b19d3bd61e393c1fe33ed8611f7ac44304057 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 24 Nov 2019 17:06:48 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-osgi?expand=0&rev=6 --- maven-osgi.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maven-osgi.changes b/maven-osgi.changes index 0fbb86f..105e8ac 100644 --- a/maven-osgi.changes +++ b/maven-osgi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 24 17:06:36 UTC 2019 - Fridrich Strba + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + ------------------------------------------------------------------- Fri May 3 15:03:52 UTC 2019 - Fridrich Strba