Apache Commons Compress.
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 and ar, cpio, jar, tar, zip, dump, 7z, arj..
Here is the list of declaration for commons-compress. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>1.7</version> </dependency>
If you think this Maven repository POM file listing for commons-compress is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The commons-compress-1.7 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 4.11 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 2031 |
The following plugins are used in the commons-compress-1.7.jar
The following packages are defined in the commons-compress-1.7.jar
org.apache.commons.compress.archivers org.apache.commons.compress.archivers.ar org.apache.commons.compress.archivers.arj org.apache.commons.compress.archivers.cpio org.apache.commons.compress.archivers.dump org.apache.commons.compress.archivers.jar org.apache.commons.compress.archivers.sevenz org.apache.commons.compress.archivers.tar org.apache.commons.compress.archivers.zip org.apache.commons.compress.changes org.apache.commons.compress.compressors org.apache.commons.compress.compressors.bzip2 org.apache.commons.compress.compressors.gzip org.apache.commons.compress.compressors.lzma org.apache.commons.compress.compressors.pack200 org.apache.commons.compress.compressors.snappy org.apache.commons.compress.compressors.xz org.apache.commons.compress.compressors.z org.apache.commons.compress.compressors.z._internal_ org.apache.commons.compress.utils
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-parent</artifactId> <version>32</version> </parent> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>1.7</version> <name>Apache Commons Compress</name> <url>http://commons.apache.org/proper/commons-compress/</url> <!-- The description is not indented to make it look better in the release notes --> <description> 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 and ar, cpio, jar, tar, zip, dump, 7z, arj. </description> <properties> <maven.compiler.source>1.5</maven.compiler.source> <maven.compiler.target>1.5</maven.compiler.target> <commons.componentid>compress</commons.componentid> <commons.jira.id>COMPRESS</commons.jira.id> <commons.jira.pid>12310904</commons.jira.pid> <!-- configuration bits for cutting a release candidate --> <commons.release.version>${project.version}</commons.release.version> <commons.rc.version>RC1</commons.rc.version> </properties> <issueManagement> <system>jira</system> <url>http://issues.apache.org/jira/browse/COMPRESS</url> </issueManagement> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.tukaani</groupId> <artifactId>xz</artifactId> <version>1.4</version> </dependency> </dependencies> <contributors> <contributor> <name>Wolfgang Glas</name> <email>wolfgang.glas at ev-i.at</email> </contributor> <contributor> <name>Christian Kohlsch?tte</name> <email>ck@newsclub.de</email> </contributor> <contributor> <name>Bear Giles</name> <email>bgiles@coyotesong.com</email> </contributor> <contributor> <name>Michael Kuss</name> <email>mail at michael minus kuss.de</email> </contributor> <contributor> <name>Lasse Collin</name> <email>lasse.collin@tukaani.org</email> </contributor> <contributor> <name>John Kodis</name> </contributor> <contributor> <name>BELUGA BEHR</name> </contributor> </contributors> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS-1.7</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS-1.7</developerConnection> <url>http://svn.apache.org/repos/asf/commons/proper/compress/tags/COMPRESS-1.7</url> </scm> <build> <plugins> <plugin> <!-- create the source and binary assemblies --> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/main/assembly/bin.xml</descriptor> <descriptor>src/main/assembly/src.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class> <Extension-Name>org.apache.commons.compress</Extension-Name> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Import-Package>org.tukaani.xz;resolution:=optional</Import-Package> </instructions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-publish-plugin</artifactId> <configuration> <ignorePathsToDelete> <ignorePathToDelete>javadocs</ignorePathToDelete> </ignorePathsToDelete> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <!-- generate the changes report from changes.xml and link to JIRA --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>${commons.changes.version}</version> <configuration> <issueLinkTemplatePerSystem> <default>%URL%/%ISSUE%</default> </issueLinkTemplatePerSystem> </configuration> <reportSets> <reportSet> <reports> <report>changes-report</report> <report>jira-report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <!-- generate a code coverage report --> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <!-- generate the PMD reports --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> <configuration> <minimumTokens>200</minimumTokens> <targetJdk>${maven.compiler.source}</targetJdk> <rulesets> <ruleset>${basedir}/pmd-ruleset.xml</ruleset> </rulesets> </configuration> </plugin> <!-- Override Javadoc config in parent pom to add JCIP tags --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <quiet>true</quiet> <source>${maven.compiler.source}</source> <encoding>${commons.encoding}</encoding> <docEncoding>${commons.docEncoding}</docEncoding> <linksource>true</linksource> <links> <link>${commons.javadoc.java.link}</link> <link>${commons.javadoc.javaee.link}</link> </links> <tags> <tag> <name>Immutable</name> <placement>a</placement> <head>This class is immutable</head> </tag> <tag> <name>NotThreadSafe</name> <placement>a</placement> <head>This class is not thread-safe</head> </tag> <tag> <name>ThreadSafe</name> <placement>a</placement> <head>This class is thread-safe</head> </tag> </tags> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.3</version> <configuration> <threshold>Normal</threshold> <effort>Default</effort> <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile> </configuration> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>${commons.rat.version}</version> <configuration> <excludes> <!-- files used during tests --> <exclude>src/test/resources/**</exclude> <!-- proposal text without license --> <exclude>PROPOSAL.txt</exclude> <exclude>.pmd</exclude> <exclude>.gitignore</exclude> <exclude>.gitattributes</exclude> </excludes> </configuration> </plugin> </plugins> </reporting> <profiles> <!-- Add long running tests as **/*IT.java --> <profile> <id>run-zipit</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>process-test-resources</phase> <configuration> <target> <untar src="${basedir}/src/test/resources/zip64support.tar.bz2" dest="${project.build.testOutputDirectory}" compression="bzip2"/> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <includes> <include>**/zip/*IT.java</include> </includes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>run-tarit</id> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <includes> <include>**/tar/*IT.java</include> </includes> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>