remote-resources:bundle

Full name:

org.apache.maven.plugins:maven-remote-resources-plugin:1.3:bundle

Description:

Bundle up resources that should be considered as a remote-resource.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: generate-resources.

Optional Parameters

Name Type Since Description
excludes String[] 1.0-alpha-5 A list of files to exclude. Can contain ant-style wildcards and double wildcards.
includes String[] 1.0-alpha-5 A list of files to include. Can contain ant-style wildcards and double wildcards. The default includes are **/*.txt **/*.vm
outputDirectory File - The directory where you want the resource bundle manifest written to.
Default value is: ${project.build.outputDirectory}.
resourcesDirectory File - The directory which contains the resources you want packaged up in this resource bundle.
Default value is: ${basedir}/src/main/resources.
sourceEncoding String 1.1 Encoding of the bundle.
Default value is: ${project.build.sourceEncoding}.

Parameter Details

excludes:

A list of files to exclude. Can contain ant-style wildcards and double wildcards.
  • Type: java.lang.String[]
  • Since: 1.0-alpha-5
  • Required: No

includes:

A list of files to include. Can contain ant-style wildcards and double wildcards. The default includes are **/*.txt **/*.vm
  • Type: java.lang.String[]
  • Since: 1.0-alpha-5
  • Required: No

outputDirectory:

The directory where you want the resource bundle manifest written to.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.outputDirectory}

resourcesDirectory:

The directory which contains the resources you want packaged up in this resource bundle.
  • Type: java.io.File
  • Required: No
  • Default: ${basedir}/src/main/resources

sourceEncoding:

Encoding of the bundle.
  • Type: java.lang.String
  • Since: 1.1
  • Required: No
  • Default: ${project.build.sourceEncoding}