collector:aggregate-files

Full name:

ch.elca.el4j.maven.plugins:maven-file-collector-plugin:3.1:aggregate-files

Description:

Mojo to aggregate files in one file.

Attributes:

  • Requires a Maven 2.0 project to be executed.

Required Parameters

Name Type Since Description
allowOverwrite boolean - Flag to indicate if it is allowed to overwrite existing files.
Default value is: true.
copyFilesOnly boolean - Flag to indicate if only files should be copied.
Default value is: false.
rootSourceDirectory File - Root directory where to begin source file lookup.
sourceFileIncludePatterns String - Comma separated list of include patterns to lookup source files.
targetDirectory File - Directory where to aggregate files.
Default value is: ${project.build.directory}/aggregated-files.
visitChildProjects boolean - Flag to indicate if child projects should be visited.
Default value is: false.

Optional Parameters

Name Type Since Description
sourceDirectoryExcludePatterns String - Comma separated list of exclude patterns to lookup directories where to find source files.
sourceDirectoryIncludePatterns String - Comma separated list of include patterns to lookup directories where to find source files.
sourceFileExcludePatterns String - Comma separated list of exclude patterns to lookup source files.

Parameter Details

allowOverwrite:

Flag to indicate if it is allowed to overwrite existing files.
  • Type: boolean
  • Required: Yes
  • Expression: ${aggregate.allowOverwrite}
  • Default: true

copyFilesOnly:

Flag to indicate if only files should be copied.
  • Type: boolean
  • Required: Yes
  • Expression: ${aggregate.copyFilesOnly}
  • Default: false

rootSourceDirectory:

Root directory where to begin source file lookup.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${aggregate.rootSourceDirectory}

sourceDirectoryExcludePatterns:

Comma separated list of exclude patterns to lookup directories where to find source files.
  • Type: java.lang.String
  • Required: No
  • Expression: ${aggregate.sourceDirectoryExcludePatterns}

sourceDirectoryIncludePatterns:

Comma separated list of include patterns to lookup directories where to find source files.
  • Type: java.lang.String
  • Required: No
  • Expression: ${aggregate.sourceDirectoryIncludePatterns}

sourceFileExcludePatterns:

Comma separated list of exclude patterns to lookup source files.
  • Type: java.lang.String
  • Required: No
  • Expression: ${aggregate.sourceFileExcludePatterns}

sourceFileIncludePatterns:

Comma separated list of include patterns to lookup source files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${aggregate.sourceFileIncludePatterns}

targetDirectory:

Directory where to aggregate files.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${aggregate.targetDirectory}
  • Default: ${project.build.directory}/aggregated-files

visitChildProjects:

Flag to indicate if child projects should be visited.
  • Type: boolean
  • Required: Yes
  • Expression: ${aggregate.visitChildProjects}
  • Default: false