Hello community,
here is the log from the commit of package maven-ant-plugin for
openSUSE:Factory checked in at 2019-11-26 16:57:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maven-ant-plugin (Old)
and /work/SRC/openSUSE:Factory/.maven-ant-plugin.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-ant-plugin"
Tue Nov 26 16:57:57 2019 rev:2 rq:750555 version:2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/maven-ant-plugin/maven-ant-plugin.changes
2019-04-12 09:14:30.409679813 +0200
+++
/work/SRC/openSUSE:Factory/.maven-ant-plugin.new.26869/maven-ant-plugin.changes
2019-11-26 16:57:59.176135077 +0100
@@ -1,0 +2,6 @@
+Sun Nov 24 14:34:16 UTC 2019 - Fridrich Strba <[email protected]>
+
+- Specify maven.compiler.release to fix build with jdk9+ and newer
+ maven-javadoc-plugin
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ maven-ant-plugin.spec ++++++
--- /var/tmp/diff_new_pack.SWsCl1/_old 2019-11-26 16:57:59.816134866 +0100
+++ /var/tmp/diff_new_pack.SWsCl1/_new 2019-11-26 16:57:59.820134865 +0100
@@ -1,7 +1,7 @@
#
# spec file for package maven-ant-plugin
#
-# Copyright (c) 2019 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:
https://archive.apache.org/dist/maven/plugins/%{name}-%{version}-source-release.zip
BuildRequires: fdupes
BuildRequires: maven-local
+BuildRequires: unzip
BuildRequires: mvn(org.apache.ant:ant)
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.codehaus.plexus:plexus-utils)
BuildRequires: mvn(xalan:xalan)
BuildRequires: mvn(xml-apis:xml-apis)
-BuildRequires: unzip
BuildArch: noarch
%description
@@ -56,7 +56,10 @@
%setup -q
%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