copy-rename:rename
Full name:
com.coderplus.maven.plugins:copy-rename-maven-plugin:1.0:rename
Description:
Rename files or directories during build.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version: 1.0.
- Binds by default to the lifecycle phase: generate-sources.
Optional Parameters
Name |
Type |
Since |
Description |
destinationFile |
File |
1.0 |
The target file/directory name
|
fileSets |
List |
1.0 |
Collection of FileSets to work on (FileSet contains sourceFile and
destinationFile). See Usage for details.
|
ignoreFileNotFoundOnIncremental |
boolean |
1.0 |
Ignore errors if the source file/directory was not found during
incremental build Default value is: true. User property is: copy.ignoreFileNotFoundOnIncremental. |
overWrite |
boolean |
1.0 |
Ignore File Not Found errors during incremental build Default value is: true. User property is: copy.overWrite. |
sourceFile |
File |
1.0 |
The file/directory which has to be renamed
|
Parameter Details
destinationFile:
The target file/directory name
- Type: java.io.File
- Since: 1.0
- Required: No
fileSets:
Collection of FileSets to work on (FileSet contains sourceFile and
destinationFile). See
Usage for details.
- Type: java.util.List
- Since: 1.0
- Required: No
ignoreFileNotFoundOnIncremental:
Ignore errors if the source file/directory was not found during
incremental build
- Type: boolean
- Since: 1.0
- Required: No
- User Property: copy.ignoreFileNotFoundOnIncremental
- Default: true
overWrite:
Ignore File Not Found errors during incremental build
- Type: boolean
- Since: 1.0
- Required: No
- User Property: copy.overWrite
- Default: true
sourceFile:
The file/directory which has to be renamed
- Type: java.io.File
- Since: 1.0
- Required: No