Class BundleRemoteResourcesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugin.resources.remote.BundleRemoteResourcesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="bundle", defaultPhase=GENERATE_RESOURCES, threadSafe=true) public class BundleRemoteResourcesMojo extends org.apache.maven.plugin.AbstractMojoBundle up resources that should be considered as a remote-resource, generatingMETA-INF/maven/remote-resources.xmldescriptor.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[]DEFAULT_INCLUDESprivate java.lang.String[]excludesA list of files to exclude.private java.lang.String[]includesA list of files to include.private java.io.FileoutputDirectoryThe directory where you want the resource bundle manifest written to.static java.lang.StringRESOURCES_MANIFESTprivate java.io.FileresourcesDirectoryThe directory which contains the resources you want packaged up in this resource bundle.private java.lang.StringsourceEncodingEncoding of the bundle.
-
Constructor Summary
Constructors Constructor Description BundleRemoteResourcesMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Field Detail
-
RESOURCES_MANIFEST
public static final java.lang.String RESOURCES_MANIFEST
- See Also:
- Constant Field Values
-
DEFAULT_INCLUDES
private static final java.lang.String[] DEFAULT_INCLUDES
-
resourcesDirectory
@Parameter(defaultValue="${basedir}/src/main/resources") private java.io.File resourcesDirectoryThe directory which contains the resources you want packaged up in this resource bundle.
-
outputDirectory
@Parameter(defaultValue="${project.build.outputDirectory}", required=true) private java.io.File outputDirectoryThe directory where you want the resource bundle manifest written to.
-
includes
@Parameter private java.lang.String[] includes
A list of files to include. Can contain ant-style wildcards and double wildcards. The default includes are**/*.txt **/*.vm- Since:
- 1.0-alpha-5
-
excludes
@Parameter private java.lang.String[] excludes
A list of files to exclude. Can contain ant-style wildcards and double wildcards.- Since:
- 1.0-alpha-5
-
sourceEncoding
@Parameter(defaultValue="${project.build.sourceEncoding}") private java.lang.String sourceEncodingEncoding of the bundle.- Since:
- 1.1
-
-