Class CopyResourcesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.resources.ResourcesMojo
org.apache.maven.plugins.resources.CopyResourcesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
Copy resources of the configured plugin attribute resources
- Since:
- 2.3
- Author:
- Olivier Lamy
-
Field Summary
Fields inherited from class org.apache.maven.plugins.resources.ResourcesMojo
addDefaultExcludes, buildFilters, delimiters, encoding, escapeString, escapeWindowsPaths, filters, includeEmptyDirs, mavenResourcesFiltering, mavenResourcesFilteringMap, nonFilteredFileExtensions, project, propertiesEncoding, session, useBuildFilters, useDefaultDelimiters
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.maven.model.Resource>
void
setFilters
(List<String> filters) void
setOutputDirectory
(File outputDirectory) void
setResources
(List<org.apache.maven.model.Resource> resources) Methods inherited from class org.apache.maven.plugins.resources.ResourcesMojo
execute, executeUserFilterComponents, getCombinedFiltersList, getDelimiters, isIncludeEmptyDirs, isOverwrite, isSkip, isUseDefaultDelimiters, setDelimiters, setIncludeEmptyDirs, setOverwrite, setUseDefaultDelimiters
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
CopyResourcesMojo
public CopyResourcesMojo()
-
-
Method Details
-
getOutputDirectory
- Overrides:
getOutputDirectory
in classResourcesMojo
- Returns:
ResourcesMojo.outputDirectory
-
setOutputDirectory
- Overrides:
setOutputDirectory
in classResourcesMojo
- Parameters:
outputDirectory
- the output folder.
-
getResources
- Overrides:
getResources
in classResourcesMojo
- Returns:
ResourcesMojo.resources
-
setResources
- Overrides:
setResources
in classResourcesMojo
- Parameters:
resources
- setResourcesMojo.resources
-
getFilters
- Overrides:
getFilters
in classResourcesMojo
- Returns:
ResourcesMojo.filters
-
setFilters
- Overrides:
setFilters
in classResourcesMojo
- Parameters:
filters
- The filters to use.
-