public class ResourcesMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
encoding
The character encoding scheme to be applied when filtering resources.
|
protected String |
escapeString
Expression preceded with the String won't be interpolated
\${foo} will be replaced with ${foo}
|
protected List |
filters
The list of additional key-value pairs aside from that of the System,
and that of the project, which would be used for the filtering.
|
protected boolean |
includeEmptyDirs
Copy any empty directories included in the Ressources.
|
protected org.apache.maven.shared.filtering.MavenResourcesFiltering |
mavenResourcesFiltering |
protected List |
nonFilteredFileExtensions
Additionnal file extensions to not apply filtering (already defined are : jpg, jpeg, gif, bmp, png)
|
protected org.apache.maven.project.MavenProject |
project |
protected org.apache.maven.execution.MavenSession |
session |
Constructor and Description |
---|
ResourcesMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
File |
getOutputDirectory() |
List |
getResources() |
boolean |
isIncludeEmptyDirs() |
boolean |
isOverwrite() |
void |
setIncludeEmptyDirs(boolean includeEmptyDirs) |
void |
setOutputDirectory(File outputDirectory) |
void |
setOverwrite(boolean overwrite) |
void |
setResources(List resources) |
protected String encoding
protected org.apache.maven.project.MavenProject project
protected List filters
protected org.apache.maven.shared.filtering.MavenResourcesFiltering mavenResourcesFiltering
protected org.apache.maven.execution.MavenSession session
protected String escapeString
protected boolean includeEmptyDirs
protected List nonFilteredFileExtensions
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public List getResources()
public void setResources(List resources)
public File getOutputDirectory()
public void setOutputDirectory(File outputDirectory)
public boolean isOverwrite()
public void setOverwrite(boolean overwrite)
public boolean isIncludeEmptyDirs()
public void setIncludeEmptyDirs(boolean includeEmptyDirs)
Copyright © 2001–2013. All rights reserved.