truezip:cp
Full name:
org.codehaus.mojo:truezip-maven-plugin:1.0-beta-7: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 |
beta-4 |
Path to an archive to be unpacked
|
| to |
File |
beta-4 |
Path to an archive or directory unpack to
|
Optional Parameters
| Name |
Type |
Since |
Description |
| immediateUpdate |
boolean |
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. |
Parameter Details
from:
Path to an archive to be unpacked
- Type: java.io.File
- Since: beta-4
- Required: Yes
- Expression: ${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: beta-2
- Required: No
- Default: true
to:
Path to an archive or directory unpack to
- Type: java.io.File
- Since: beta-4
- Required: Yes
- Expression: ${to}