Fridrich Strba 2022-04-06 11:03:17 +00:00 committed by Git OBS Bridge
parent 8dbae51daf
commit 39bddc140e
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 6 11:02:35 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Set the java source and target levels to 8 for all children
artifacts
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 12 12:57:33 UTC 2019 - Fridrich Strba <fstrba@suse.com> Thu Dec 12 12:57:33 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package geronimo-specs-pom # spec file for package geronimo-specs-pom
# #
# Copyright (c) 2019 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -45,10 +45,10 @@ cp -p %{SOURCE1} LICENSE
# not really useful for rpm build # not really useful for rpm build
%pom_remove_plugin :maven-idea-plugin %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:source" 1.8
%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6 %pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.8
%pom_xpath_set "pom:reporting/pom:plugins/pom:plugin[pom:artifactId='maven-pmd-plugin']/pom:configuration/pom:targetJdk" 1.6 %pom_xpath_set "pom:reporting/pom:plugins/pom:plugin[pom:artifactId='maven-pmd-plugin']/pom:configuration/pom:targetJdk" 1.8
%build %build