Fork me on GitHub

truezip:cp

Full name:

org.codehaus.mojo:truezip-maven-plugin:1.3-SNAPSHOT:cp

Description:

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


Attributes:

Required Parameters

Name Type Since Description
from File 1.0 beta-4 Path to an archive to be unpacked.
User property is: from.
to File 1.0 beta-4 Path to an archive or directory to unpack to.
User property is: to.

Optional Parameters

Name Type Since Description
immediateUpdate boolean 1.0 beta-2 Enable automatic file update after each MOJO execution. If set to false, immediate update is not performed. Then, the updated files are flushed at undefined time (when the VM finalizes objects). Otherwise, a forced file update can be triggered by using update goal in an separate execution.
Default value is: true.
skip boolean 1.2 Skip
Default value is: false.
User property is: truezip.skip.

Parameter Details

from:

Path to an archive to be unpacked.
  • Type: java.io.File
  • Since: 1.0 beta-4
  • Required: Yes
  • User Property: from

immediateUpdate:

Enable automatic file update after each MOJO execution. If set to false, immediate update is not performed. Then, the updated files are flushed at undefined time (when the VM finalizes objects). Otherwise, a forced file update can be triggered by using update goal in an separate execution.
  • Type: boolean
  • Since: 1.0 beta-2
  • Required: No
  • Default: true

skip:

Skip
  • Type: boolean
  • Since: 1.2
  • Required: No
  • User Property: truezip.skip
  • Default: false

to:

Path to an archive or directory to unpack to.
  • Type: java.io.File
  • Since: 1.0 beta-4
  • Required: Yes
  • User Property: to