copy-rename:copy

Full name:

com.coderplus.maven.plugins:copy-rename-maven-plugin:1.0:copy

Description:

Copy files 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 to which the file should be copied(this shouldn't be a directory but a file which does or does not exist)
fileSets List 1.0 Collection of FileSets to work on (FileSet contains sourceFile and destinationFile). See Usage for details.
ignoreFileNotFoundOnIncremental boolean 1.0 Ignore File Not Found errors during incremental build
Default value is: true.
User property is: copy.ignoreFileNotFoundOnIncremental.
overWrite boolean 1.0 Overwrite files
Default value is: true.
User property is: copy.overWrite.
sourceFile File 1.0 The file which has to be copied

Parameter Details

destinationFile:

The target file to which the file should be copied(this shouldn't be a directory but a file which does or does not exist)
  • 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 File Not Found errors during incremental build
  • Type: boolean
  • Since: 1.0
  • Required: No
  • User Property: copy.ignoreFileNotFoundOnIncremental
  • Default: true

overWrite:

Overwrite files
  • Type: boolean
  • Since: 1.0
  • Required: No
  • User Property: copy.overWrite
  • Default: true

sourceFile:

The file which has to be copied
  • Type: java.io.File
  • Since: 1.0
  • Required: No