From 9a5f392eb7574a5ec31a984625f1c7bc9f67dfcd Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Oct 15 2020 13:07:20 +0000 Subject: build with -release 8 to avoid OpenJDK API incompatibility issues --- diff --git a/maven.spec b/maven.spec index 2b35947..78e7dcf 100644 --- a/maven.spec +++ b/maven.spec @@ -7,7 +7,7 @@ Name: maven Epoch: 1 Version: 3.6.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Java project management and project comprehension tool # maven itself is ASL 2.0 # bundled slf4j is MIT @@ -214,7 +214,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 @@ -294,6 +294,9 @@ update-alternatives --install %{_bindir}/mvn mvn %{homedir}/bin/mvn %{?maven_alt %changelog +* Thu Oct 15 2020 Fabio Valentini - 1:3.6.3-6 +- Build with -release 8 to avoid OpenJDK API incompatibility issues. + * Tue Aug 25 2020 Fabio Valentini - 1:3.6.3-5 - Adapt to cdi-api switch from jboss-interceptor to jakarta-interceptor.