remote-resources:bundle

Full name:

org.apache.maven.plugins:maven-remote-resources-plugin:3.2.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.
  • The goal is thread-safe and supports parallel builds.
  • 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: ${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: ${basedir}/src/main/resources
<sourceEncoding> String 1.1 Encoding of the bundle.
Default: ${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: report.plugin.goal.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: report.plugin.goal.no

<outputDirectory>

The directory where you want the resource bundle manifest written to.
  • Type: java.io.File
  • Required: report.plugin.goal.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: report.plugin.goal.no
  • Default: ${basedir}/src/main/resources

<sourceEncoding>

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