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:
commit
12c1e4fa1f
@ -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>
|
Mon Apr 15 15:25:46 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package geronimo-specs-pom
|
# 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
|
# 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,6 +45,11 @@ 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:target" 1.6
|
||||||
|
|
||||||
|
%pom_xpath_set "pom:reporting/pom:plugins/pom:plugin[pom:artifactId='maven-pmd-plugin']/pom:configuration/pom:targetJdk" 1.6
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user