Hello community, here is the log from the commit of package gmavenplus-plugin for openSUSE:Factory checked in at 2019-11-26 16:56:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gmavenplus-plugin (Old) and /work/SRC/openSUSE:Factory/.gmavenplus-plugin.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gmavenplus-plugin" Tue Nov 26 16:56:55 2019 rev:2 rq:750533 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/gmavenplus-plugin/gmavenplus-plugin.changes 2019-11-13 13:28:05.699683051 +0100 +++ /work/SRC/openSUSE:Factory/.gmavenplus-plugin.new.26869/gmavenplus-plugin.changes 2019-11-26 16:57:02.068153934 +0100 @@ -1,0 +2,6 @@ +Sun Nov 24 12:26:46 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gmavenplus-plugin.spec ++++++ --- /var/tmp/diff_new_pack.Zf116K/_old 2019-11-26 16:57:03.296153529 +0100 +++ /var/tmp/diff_new_pack.Zf116K/_new 2019-11-26 16:57:03.300153527 +0100 @@ -1,7 +1,7 @@ # # spec file for package gmavenplus-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 @@ -24,6 +24,7 @@ Group: Development/Libraries/Java URL: https://groovy.github.io/GMavenPlus/ Source0: https://github.com/groovy/GMavenPlus/archive/%{version}.tar.gz +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(jline:jline) @@ -74,15 +75,15 @@ rm -r src/test/java/org/codehaus/gmavenplus/mojo/AbstractGroovyMojoTest.java # Convert from dos to unix line ending -sed -i.orig 's|\r||g' README.markdown -touch -r README.markdown.orig README.markdown -rm README.markdown.orig +dos2unix README.markdown %{mvn_file} : %{name} %build -# Disable tests for now due to incompatibility with new mockito 2.x -%{mvn_build} -f -- -Pnonindy -Dsource=6 +%{mvn_build} -f -- -Pnonindy \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=6 +%endif %install %mvn_install