diff --git a/maven-reporting-exec.changes b/maven-reporting-exec.changes index 895c433..2f81495 100644 --- a/maven-reporting-exec.changes +++ b/maven-reporting-exec.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 24 17:09:42 UTC 2019 - Fridrich Strba + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + ------------------------------------------------------------------- Mon Jun 3 17:53:13 UTC 2019 - Jan Engelhardt diff --git a/maven-reporting-exec.spec b/maven-reporting-exec.spec index f6de067..5bfe3f7 100644 --- a/maven-reporting-exec.spec +++ b/maven-reporting-exec.spec @@ -1,7 +1,7 @@ # # spec file for package maven-reporting-exec # -# 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 @@ -72,10 +72,10 @@ sed -i 's/\r//g' pom.xml src/main/java/org/apache/maven/reporting/exec/* %pom_change_dep org.sonatype.sisu:sisu-inject-plexus org.eclipse.sisu:org.eclipse.sisu.plexus %build -# Test are skipped because there are errors with PlexusLogger -# More info possibly here: -# https://docs.sonatype.org/display/AETHER/Using+Aether+in+Maven+Plugins?focusedCommentId=10485782#comment-10485782 -%{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