You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/03/11 11:44:32 UTC

[commons-compress] branch master updated: COMPRESS-604: Ensure compatibility with Java 8 (#252)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new c360b5a  COMPRESS-604: Ensure compatibility with Java 8 (#252)
c360b5a is described below

commit c360b5a21687526b69c0df876e18004f9721d1d9
Author: Andre Brait <an...@gmail.com>
AuthorDate: Fri Mar 11 12:44:28 2022 +0100

    COMPRESS-604: Ensure compatibility with Java 8 (#252)
    
    * COMPRESS-604: ensure compatibility with Java 8
    
    Switch --release from 9 to 8 when building with JDK 9+
    
    * COMPRESS-604: remove outdated warning for JDK 14+
---
 README.md | 3 ---
 pom.xml   | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 8db17e9..3079c47 100644
--- a/README.md
+++ b/README.md
@@ -49,9 +49,6 @@ Apache Commons Compress
 [![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-compress/1.21.svg)](https://javadoc.io/doc/org.apache.commons/commons-compress/1.21)
 [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/apache-commons.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:apache-commons)
 
-**Note: Commons Compress currently doesn't build on JDK 14+, we will
-address this before releasing Compress 1.21**.
-
 Apache Commons Compress software defines an API for working with
 compression and archive formats.  These include: bzip2, gzip, pack200,
 lzma, xz, Snappy, traditional Unix Compress, DEFLATE, DEFLATE64, LZ4,
diff --git a/pom.xml b/pom.xml
index 5b6f38e..73ecec1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -621,7 +621,7 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
         <jdk>[9,)</jdk>
       </activation>
       <properties>
-        <maven.compiler.release>9</maven.compiler.release>
+        <maven.compiler.release>8</maven.compiler.release>
         <animal.sniffer.skip>true</animal.sniffer.skip>
         <!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
         <coveralls.skip>true</coveralls.skip>