Bug: 116800376

Clone this repo:
  1. cc9e5a6 [LSC] Add LOCAL_LICENSE_KINDS to external/apache-commons-compress am: a073d6ed34 am: fa6cd1745f am: 5c4fb4d6a7 by Bob Badour · 12 months ago android-s-v2-preview-1 android12--mainline-release android12-dev android12-qpr1-d-release android12-qpr1-d-s1-release android12-qpr1-d-s2-release android12-qpr1-d-s3-release android12-qpr1-release master android-12.0.0_r16 android-12.0.0_r18 android-12.0.0_r19 android-12.0.0_r20 android-12.0.0_r21 android-12.0.0_r26 android-12.0.0_r27 android-mainline-12.0.0_r4 android-s-v2-beta-2 android-s-v2-preview-2
  2. 5c4fb4d [LSC] Add LOCAL_LICENSE_KINDS to external/apache-commons-compress am: a073d6ed34 am: fa6cd1745f by Bob Badour · 12 months ago
  3. fa6cd17 [LSC] Add LOCAL_LICENSE_KINDS to external/apache-commons-compress am: a073d6ed34 by Bob Badour · 12 months ago android-s-beta-4 android-s-beta-5 android-s-beta-1 android-s-beta-2 android-s-beta-3
  4. a073d6e [LSC] Add LOCAL_LICENSE_KINDS to external/apache-commons-compress by Bob Badour · 12 months ago android-s-preview-1
  5. 4995813 Add METADATA to apache-commons-compress: Apache2+BSD+MIT=NOTICE am: ad8816d19f am: fe57d99858 am: e03976c242 am: 2ef916340b am: df25b83a4e by Bob Badour · 1 year, 9 months ago

Apache Commons Compress

Build Status Coverage Status Maven Central License

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, Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.


More information can be found on the Apache Commons Compress homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons Compress should be posted to the user mailing list.

Where can I get the latest release?

You can download source and binaries from our download page.

Alternatively you can pull it from the central Maven repositories:



We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:

  • No tabs! Please use spaces for indentation.
  • Respect the code style.
  • Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
  • Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.


This code is under the Apache Licence v2.

See the NOTICE.txt file for required notices and attributions.


You like Apache Commons Compress? Then donate back to the ASF to support the development.

Additional Resources