From dbd8d6954cd6cb06bdbd307131fe25af988fbf27 Mon Sep 17 00:00:00 2001 From: Didik Supriadi Date: Wed, 23 Feb 2022 10:03:53 +0700 Subject: [PATCH] Set java target release to 8 ... (rhbz#2105386, rhbz#2113766) --- xml-maven-plugin.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xml-maven-plugin.spec b/xml-maven-plugin.spec index fbb03d6..fdd4af9 100644 --- a/xml-maven-plugin.spec +++ b/xml-maven-plugin.spec @@ -44,6 +44,8 @@ done # Add the version sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.xsl +%pom_xpath_set pom:mojo.java.target 8 + %build %mvn_build -f