Hello community, here is the log from the commit of package maven-osgi for openSUSE:Factory checked in at 2019-11-26 16:59:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/maven-osgi (Old) and /work/SRC/openSUSE:Factory/.maven-osgi.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-osgi" Tue Nov 26 16:59:14 2019 rev:2 rq:750588 version:0.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/maven-osgi/maven-osgi.changes 2019-05-06 13:26:33.509188348 +0200 +++ /work/SRC/openSUSE:Factory/.maven-osgi.new.26869/maven-osgi.changes 2019-11-26 16:59:19.876108430 +0100 @@ -1,0 +2,6 @@ +Sun Nov 24 17:06:36 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ maven-osgi.spec ++++++ --- /var/tmp/diff_new_pack.dqZFEr/_old 2019-11-26 16:59:20.668108169 +0100 +++ /var/tmp/diff_new_pack.dqZFEr/_new 2019-11-26 16:59:20.676108166 +0100 @@ -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 @@ 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 @@ -61,8 +61,10 @@ %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 +%{mvn_build} -f \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -- -Dmaven.compiler.release=6 +%endif %install %mvn_install