From eae616c2109d5b8c24aa61561243707a731ac331 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Oct 15 2020 13:15:53 +0000 Subject: build with -release 8 to avoid OpenJDK API incompatibility issues --- diff --git a/maven.spec b/maven.spec index a7c679c..b856383 100644 --- a/maven.spec +++ b/maven.spec @@ -7,7 +7,7 @@ Name: maven Epoch: 1 Version: 3.6.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Java project management and project comprehension tool # maven itself is ASL 2.0 # bundled slf4j is MIT @@ -213,7 +213,7 @@ sed -i " %build -%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 +%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.release=8 mkdir m2home (cd m2home @@ -293,6 +293,9 @@ update-alternatives --install %{_bindir}/mvn mvn %{homedir}/bin/mvn %{?maven_alt %changelog +* Thu Oct 15 2020 Fabio Valentini - 1:3.6.3-7 +- Build with -release 8 to avoid OpenJDK API incompatibility issues. + * Wed Sep 30 2020 Christopher Tubbs - 1:3.6.3-6 - Remove unneeded commons-logging from runtime class path (rhbz#1883751) - Also remove redundant commons-codec