Plugin Documentation

Goals available for this plugin:

GoalDescription
truezip:copyCopy a set of files in and out of an existing archive
truezip:cpCopy 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:helpDisplay help information on truezip-maven-plugin.
Call
  mvn truezip:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
truezip:listList all files in the archive.
truezip:lsDisplay an archive's list to console. Note: inner archive file length always show 0 byte long. See TrueZip java doc for details.

Example:

  • mvn truezip:ls -Dfrom=a.zip


truezip:moveUse this goal to move single file or multiple files(via FileSet) between archives or directories
truezip:removeRemove a set of files from an existing archive
truezip:updateUpdate open archives immediately, flush cached data to disk.

System Requirements

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

Maven2.0.6
JDK1.4
MemoryNo minimum requirement.
Disk SpaceNo 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.0-beta-7</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.0-beta-7</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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