From f0f0108aadbfffd9fa9bb1a9382fa10549bc6791 Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Thu, 25 Jun 2020 17:21:18 +0300 Subject: [PATCH] Fix compile with Java 11. --- plexus-cipher.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plexus-cipher.spec b/plexus-cipher.spec index 39e944d..030a1c6 100644 --- a/plexus-cipher.spec +++ b/plexus-cipher.spec @@ -1,6 +1,6 @@ Name: plexus-cipher Version: 1.7 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Plexus Cipher: encryption/decryption Component License: ASL 2.0 # project moved to GitHub and it looks like there is no official website anymore @@ -44,6 +44,13 @@ API documentation for %{name}. %mvn_file : plexus/%{name} +sed -i -e "s|1.5|1.8|" pom.xml +# Fix javadoc generation on java 11 +%pom_xpath_inject pom:build/pom:plugins " +maven-javadoc-plugin +1.8 +" + %build # Tests depend on sisu-guice %mvn_build -f @@ -58,6 +65,9 @@ API documentation for %{name}. %doc LICENSE.txt NOTICE.txt %changelog +* Thu Jun 25 2020 Alexander Kurtakov 1.7-19 +- Fix compile with Java 11. + * Thu Jan 30 2020 Fedora Release Engineering - 1.7-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild