Hello community, here is the log from the commit of package maven-source-plugin for openSUSE:Factory checked in at 2019-12-02 11:35:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/maven-source-plugin (Old) and /work/SRC/openSUSE:Factory/.maven-source-plugin.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-source-plugin" Mon Dec 2 11:35:36 2019 rev:2 rq:752793 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/maven-source-plugin/maven-source-plugin.changes 2019-04-30 12:58:17.158140197 +0200 +++ /work/SRC/openSUSE:Factory/.maven-source-plugin.new.4691/maven-source-plugin.changes 2019-12-02 11:38:28.098462284 +0100 @@ -1,0 +2,5 @@ +Mon Dec 2 07:18:12 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Specify maven.compiler.release to fix javadoc build with jdk11 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ maven-source-plugin.spec ++++++ --- /var/tmp/diff_new_pack.WXG3bS/_old 2019-12-02 11:38:28.802462433 +0100 +++ /var/tmp/diff_new_pack.WXG3bS/_new 2019-12-02 11:38:28.802462433 +0100 @@ -1,7 +1,7 @@ # # spec file for package maven-source-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://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip BuildRequires: fdupes BuildRequires: maven-local +BuildRequires: unzip BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) @@ -37,7 +38,6 @@ BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.codehaus.plexus:plexus-archiver) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) -BuildRequires: unzip BuildArch: noarch %description @@ -54,9 +54,13 @@ %prep %setup -q -%build %{mvn_file} : %{name} -%{mvn_build} -f + +%build +%{mvn_build} -f \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -- -Dmaven.compiler.release=6 +%endif %install %mvn_install