#1 override javac source and target version to fix builds using Java 11
Closed 3 years ago by decathorpe. Opened 3 years ago by decathorpe.
Unknown source master  into  master

file modified
+5 -2
@@ -1,6 +1,6 @@

  Name:           apache-commons-cli

  Version:        1.4

- Release:        8%{?dist}

+ Release:        9%{?dist}

  Summary:        Command Line Interface Library for Java

  License:        ASL 2.0

  URL:            http://commons.apache.org/cli/
@@ -30,7 +30,7 @@

  %mvn_file : commons-cli %{name}

  

  %build

- %mvn_build

+ %mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8

  

  %install

  %mvn_install
@@ -40,6 +40,9 @@

  %doc README.md RELEASE-NOTES.txt

  

  %changelog

+ * Wed Jun 03 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4-9

+ - Override javac source and target version to fix builds using Java 11.

+ 

  * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

Fixes build on Java 11 and keeps it working on Java 8.

Pull-Request has been closed by decathorpe

3 years ago
Metadata