From 88a42975b5c4201e240b208e4a6b44f22c33b14f Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sat, 26 Oct 2019 12:09:24 +0200 Subject: [PATCH] Set compiler source/target to 1.6 --- plexus-build-api.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plexus-build-api.spec b/plexus-build-api.spec index 3f36915..5ae0337 100644 --- a/plexus-build-api.spec +++ b/plexus-build-api.spec @@ -36,6 +36,8 @@ cp -p %{SOURCE1} . %patch0 -p1 %patch1 -p1 +%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/*" 1.6 + %mvn_file : plexus/%{name} %build