Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
truezip:copy Copy a set of files in and out of an existing archive.
truezip:cp Copy an archive/directory to another archive/directory. Mainly used from command line to unpack/pack any known archive type.

Example:

  • mvn truezip:cp -Dfrom=a.zip -Dto=b
  • mvn truezip:cp -Dfrom=b -Dto=b.zip


truezip:help Display help information on truezip-maven-plugin.
Call mvn truezip:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
truezip:list List all files in the archive.
truezip:ls Display an archive's list to console. Note: inner archive file length always show 0 byte long. See TrueZip javadoc for details.

Example:

  • mvn truezip:ls -Dfrom=a.zip


truezip:move Move a single file or multiple files (via FileSet) between archives or directories.
truezip:remove Remove a set of files from an existing archive.
truezip:update Deprecated. use immediateUpdate option instead

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.2.1
JDK 1.6
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>truezip-maven-plugin</artifactId>
          <version>1.3-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>truezip-maven-plugin</artifactId>
        <version>1.3-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"