remote-resources:bundle

Full name:

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

Description:

Bundle up resources that should be considered as a remote-resource, generating META-INF/maven/remote-resources.xml descriptor.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: generate-resources.

Required Parameters

Name Type Since Description
<outputDirectory> File - The directory where you want the resource bundle manifest written to.
Default value is: ${project.build.outputDirectory}.

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
<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: Yes
  • 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}