Hello community, here is the log from the commit of package maven-jmod-plugin for openSUSE:Factory checked in at 2019-11-26 16:59:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/maven-jmod-plugin (Old) and /work/SRC/openSUSE:Factory/.maven-jmod-plugin.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-jmod-plugin" Tue Nov 26 16:59:45 2019 rev:2 rq:750604 version:3.0.0~alpha1 Changes: -------- --- /work/SRC/openSUSE:Factory/maven-jmod-plugin/maven-jmod-plugin.changes 2019-04-30 12:58:08.654145484 +0200 +++ /work/SRC/openSUSE:Factory/.maven-jmod-plugin.new.26869/maven-jmod-plugin.changes 2019-11-26 16:59:48.608098943 +0100 @@ -1,0 +2,9 @@ +Sun Nov 24 17:22:49 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin +- Added patch: + * maven-jmod-plugin-plexus-languages-1.0.patch + + fix building against plexus-languages >= 1.0 + +------------------------------------------------------------------- New: ---- maven-jmod-plugin-plexus-languages-1.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ maven-jmod-plugin.spec ++++++ --- /var/tmp/diff_new_pack.jhF8yF/_old 2019-11-26 16:59:49.228098738 +0100 +++ /var/tmp/diff_new_pack.jhF8yF/_new 2019-11-26 16:59:49.236098735 +0100 @@ -1,7 +1,7 @@ # # spec file for package maven-jmod-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 @@ -27,8 +27,10 @@ Group: Development/Libraries/Java URL: https://maven.apache.org/plugins/maven-jmod-plugin/ Source0: https://archive.apache.org/dist/maven/plugins/%{name}-%{basever}-%{opt}-%{optver}-source-release.zip +Patch0: maven-jmod-plugin-plexus-languages-1.0.patch BuildRequires: fdupes BuildRequires: maven-local +BuildRequires: unzip BuildRequires: mvn(org.apache.commons:commons-lang3) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) @@ -37,7 +39,6 @@ BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.codehaus.plexus:plexus-java) -BuildRequires: unzip BuildArch: noarch %description @@ -52,9 +53,13 @@ %prep %setup -q -n %{name}-%{basever}-%{opt}-%{optver} +%patch0 -p1 %build -%{mvn_build} +%{mvn_build} -f \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -- -Dmaven.compiler.release=8 +%endif %install %mvn_install ++++++ maven-jmod-plugin-plexus-languages-1.0.patch ++++++ --- maven-jmod-plugin-3.0.0-alpha-1/src/main/java/org/apache/maven/plugins/jmod/JModCreateMojo.java 2017-09-17 13:29:30.000000000 +0200 +++ maven-jmod-plugin-3.0.0-alpha-1/src/main/java/org/apache/maven/plugins/jmod/JModCreateMojo.java 2019-11-22 11:46:01.229465983 +0100 @@ -47,7 +47,7 @@ import org.codehaus.plexus.languages.java.jpms.LocationManager; import org.codehaus.plexus.languages.java.jpms.ResolvePathsRequest; import org.codehaus.plexus.languages.java.jpms.ResolvePathsResult; -import org.codehaus.plexus.languages.java.jpms.ResolvePathsResult.ModuleNameSource; +import org.codehaus.plexus.languages.java.jpms.ModuleNameSource; import org.codehaus.plexus.util.FileUtils; import org.codehaus.plexus.util.cli.Commandline;