explicitly specify maven compiler source and target versions
This commit is contained in:
parent
45d5bf6793
commit
eaa6a2bce6
@ -1,6 +1,6 @@
|
|||||||
Name: plexus-build-api
|
Name: plexus-build-api
|
||||||
Version: 0.0.7
|
Version: 0.0.7
|
||||||
Release: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
Summary: Plexus Build API
|
Summary: Plexus Build API
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/sonatype/sisu-build-api
|
URL: https://github.com/sonatype/sisu-build-api
|
||||||
@ -40,8 +40,10 @@ cp -p %{SOURCE1} .
|
|||||||
|
|
||||||
%mvn_file : plexus/%{name}
|
%mvn_file : plexus/%{name}
|
||||||
|
|
||||||
|
%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration"
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
@ -53,6 +55,9 @@ cp -p %{SOURCE1} .
|
|||||||
%doc LICENSE-2.0.txt
|
%doc LICENSE-2.0.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 13 2019 Fabio Valentini <decathorpe@gmail.com> - 0.0.7-25
|
||||||
|
- Explicitly specify maven compiler source and target versions.
|
||||||
|
|
||||||
* Thu Oct 17 2019 Fabio Valentini <decathorpe@gmail.com> - 0.0.7-24
|
* Thu Oct 17 2019 Fabio Valentini <decathorpe@gmail.com> - 0.0.7-24
|
||||||
- Port to plexus-utils 3.3.0.
|
- Port to plexus-utils 3.3.0.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user