Hello community, here is the log from the commit of package maven-install-plugin for openSUSE:Factory checked in at 2019-11-26 16:59:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/maven-install-plugin (Old) and /work/SRC/openSUSE:Factory/.maven-install-plugin.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-install-plugin" Tue Nov 26 16:59:39 2019 rev:2 rq:750601 version:2.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/maven-install-plugin/maven-install-plugin.changes 2019-05-06 13:21:06.616498581 +0200 +++ /work/SRC/openSUSE:Factory/.maven-install-plugin.new.26869/maven-install-plugin.changes 2019-11-26 16:59:41.948101142 +0100 @@ -1,0 +2,6 @@ +Sun Nov 24 17:19:19 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ maven-install-plugin.spec ++++++ --- /var/tmp/diff_new_pack.AazutZ/_old 2019-11-26 16:59:42.728100885 +0100 +++ /var/tmp/diff_new_pack.AazutZ/_new 2019-11-26 16:59:42.736100882 +0100 @@ -1,7 +1,7 @@ # # spec file for package maven-install-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(commons-codec:commons-codec) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) @@ -39,7 +40,6 @@ BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven:maven-project) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) -BuildRequires: unzip BuildArch: noarch %description @@ -64,7 +64,11 @@ %pom_add_dep org.apache.maven:maven-compat %build -%{mvn_build} -f -- -DmavenVersion=3.1.1 +%{mvn_build} -f -- \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=6 \ +%endif + -DmavenVersion=3.1.1 %install %mvn_install