From 8dbae51daff9b1f875d1f6b0ab2e78a68b9caffef8170b14ac1e8d45e52ecdcb Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 12 Dec 2019 13:02:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/geronimo-specs-pom?expand=0&rev=5 --- geronimo-specs-pom.changes | 6 ++++++ geronimo-specs-pom.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/geronimo-specs-pom.changes b/geronimo-specs-pom.changes index 003a2b1..ff27fe2 100644 --- a/geronimo-specs-pom.changes +++ b/geronimo-specs-pom.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 12 12:57:33 UTC 2019 - Fridrich Strba + +- Set source and target levels to 1.6 in order to make them trickle + down to all its children + ------------------------------------------------------------------- Mon Apr 15 15:25:46 UTC 2019 - Fridrich Strba diff --git a/geronimo-specs-pom.spec b/geronimo-specs-pom.spec index b4eb260..b0e9cb2 100644 --- a/geronimo-specs-pom.spec +++ b/geronimo-specs-pom.spec @@ -1,7 +1,7 @@ # # spec file for package geronimo-specs-pom # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -45,6 +45,11 @@ cp -p %{SOURCE1} LICENSE # not really useful for rpm build %pom_remove_plugin :maven-idea-plugin +%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.6 +%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6 + +%pom_xpath_set "pom:reporting/pom:plugins/pom:plugin[pom:artifactId='maven-pmd-plugin']/pom:configuration/pom:targetJdk" 1.6 + %build %install