Fridrich Strba 2022-03-23 10:15:19 +00:00 committed by Git OBS Bridge
parent 4a147d4e65
commit 7ea61a374a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 23 10:00:34 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source and target levels 8
-------------------------------------------------------------------
Thu Mar 17 12:56:51 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -153,8 +153,12 @@ done
%pom_add_dep javax.xml.bind:jaxb-api::provided simpleclient_pushgateway
%endif
%pom_xpath_set "pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration/pom:source" "1.8"
%pom_xpath_set "pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration/pom:target" "1.8"
%build
%{mvn_build} -f -s -- -Dsource=8
%{mvn_build} -f -s -- \
-Dsource=8
%install
%mvn_install