diff --git a/maven-resources-plugin.changes b/maven-resources-plugin.changes index 6062e2e..e8ae581 100644 --- a/maven-resources-plugin.changes +++ b/maven-resources-plugin.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 24 17:47:59 UTC 2019 - Fridrich Strba + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + ------------------------------------------------------------------- Wed Apr 3 09:27:51 UTC 2019 - Fridrich Strba diff --git a/maven-resources-plugin.spec b/maven-resources-plugin.spec index e492d61..3730c89 100644 --- a/maven-resources-plugin.spec +++ b/maven-resources-plugin.spec @@ -1,7 +1,7 @@ # -# spec file for package maven +# spec file for package maven-resources-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 @@ -105,6 +105,9 @@ build-jar-repository -s lib \ %else xmvn --batch-mode --offline \ -Dmaven.test.skip=true \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=7 \ +%endif package org.apache.maven.plugins:maven-javadoc-plugin:aggregate %endif