Hello community,

here is the log from the commit of package maven-antrun-plugin for 
openSUSE:Factory checked in at 2019-11-26 16:57:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maven-antrun-plugin (Old)
 and      /work/SRC/openSUSE:Factory/.maven-antrun-plugin.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "maven-antrun-plugin"

Tue Nov 26 16:57:59 2019 rev:2 rq:750556 version:1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/maven-antrun-plugin/maven-antrun-plugin.changes  
2019-04-12 09:14:48.021690994 +0200
+++ 
/work/SRC/openSUSE:Factory/.maven-antrun-plugin.new.26869/maven-antrun-plugin.changes
       2019-11-26 16:57:59.960134819 +0100
@@ -1,0 +2,6 @@
+Sun Nov 24 14:35:35 UTC 2019 - Fridrich Strba <fst...@suse.com>
+
+- Specify maven.compiler.release to fix build with jdk9+ and newer
+  maven-javadoc-plugin
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ maven-antrun-plugin.spec ++++++
--- /var/tmp/diff_new_pack.dtDn9P/_old  2019-11-26 16:58:00.484134646 +0100
+++ /var/tmp/diff_new_pack.dtDn9P/_new  2019-11-26 16:58:00.484134646 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package maven-antrun-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(org.apache.ant:ant)
 BuildRequires:  mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
 BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
@@ -34,7 +35,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
@@ -52,7 +52,10 @@
 %setup -q
 
 %build
-%{mvn_build}
+%{mvn_build} -f \
+%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
+       -- -Dmaven.compiler.release=6
+%endif
 
 %install
 %mvn_install



Reply via email to