Hi,
I want to use commons-compress-1.18.jar in my maven project.
What is commons-compress-1.18.jar maven dependency code?
I want want commons-compress-1.18.jar maven dependency to add in pom.xml file. Share me the code to add in maven pom.xml file.
Thanks
HI,
What is maven commons compress?
The what is maven commons compress is Java utility classes from Apache for working with the various archive formats in Java.
This API used for working with ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE, lz4, Brotli, Zstandard, DEFLATE64 and Z file formats.
If you have requirement to work with such formats you can use Apache commons compress library.
You can add following code to include commons-compress-1.18.jar maven dependency in your project:
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>1.18</version> </dependency>
Above code is for commons-compress 1.18.
Following code is for commons-compress 1.19:
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>1.19</version> </dependency>
Thanks
Ads