@Mojo(name="bundle",
defaultPhase=GENERATE_RESOURCES,
threadSafe=true)
public class BundleRemoteResourcesMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
DEFAULT_INCLUDES |
private java.lang.String[] |
excludes
A list of files to exclude.
|
private java.lang.String[] |
includes
A list of files to include.
|
private java.io.File |
outputDirectory
The directory where you want the resource bundle manifest written to.
|
static java.lang.String |
RESOURCES_MANIFEST |
private java.io.File |
resourcesDirectory
The directory which contains the resources you want packaged up in this resource bundle.
|
private java.lang.String |
sourceEncoding
Encoding of the bundle.
|
Constructor and Description |
---|
BundleRemoteResourcesMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
public static final java.lang.String RESOURCES_MANIFEST
private static final java.lang.String[] DEFAULT_INCLUDES
@Parameter(defaultValue="${basedir}/src/main/resources") private java.io.File resourcesDirectory
@Parameter(defaultValue="${project.build.outputDirectory}", required=true) private java.io.File outputDirectory
@Parameter private java.lang.String[] includes
**/*.txt **/*.vm
@Parameter private java.lang.String[] excludes
@Parameter(defaultValue="${project.build.sourceEncoding}") private java.lang.String sourceEncoding