Hello community, here is the log from the commit of package maven-war-plugin for openSUSE:Factory checked in at 2019-11-26 17:00:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/maven-war-plugin (Old) and /work/SRC/openSUSE:Factory/.maven-war-plugin.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-war-plugin" Tue Nov 26 17:00:17 2019 rev:2 rq:750618 version:3.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/maven-war-plugin/maven-war-plugin.changes 2019-06-28 16:35:06.814709176 +0200 +++ /work/SRC/openSUSE:Factory/.maven-war-plugin.new.26869/maven-war-plugin.changes 2019-11-26 17:00:27.320086160 +0100 @@ -1,0 +2,6 @@ +Sun Nov 24 17:36:45 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ maven-war-plugin.spec ++++++ --- /var/tmp/diff_new_pack.U1P1Me/_old 2019-11-26 17:00:28.368085814 +0100 +++ /var/tmp/diff_new_pack.U1P1Me/_new 2019-11-26 17:00:28.368085814 +0100 @@ -1,7 +1,7 @@ # # spec file for package maven-war-plugin # -# 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 @@ -26,6 +26,7 @@ Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip BuildRequires: fdupes BuildRequires: maven-local +BuildRequires: unzip BuildRequires: mvn(com.thoughtworks.xstream:xstream) BuildRequires: mvn(commons-io:commons-io) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) @@ -39,7 +40,6 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-archiver) BuildRequires: mvn(org.codehaus.plexus:plexus-interpolation) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) -BuildRequires: unzip BuildArch: noarch %description @@ -59,7 +59,10 @@ %pom_remove_plugin :maven-enforcer-plugin %build -%{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