Accepting request 757278 from Java:packages

Specify sane java language levels for children projects

OBS-URL: https://build.opensuse.org/request/show/757278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geronimo-specs-pom?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-12-16 14:20:45 +00:00 committed by Git OBS Bridge
commit 12c1e4fa1f
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 12 12:57:33 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- 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 <fstrba@suse.com>

View File

@ -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