public class Resource extends FileSet implements Serializable
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
String |
getMergeId()
Get fOR INTERNAL USE ONLY.
|
String |
getTargetPath()
Get describe the resource target path.
|
void |
initMergeId() |
boolean |
isFiltering()
Get whether resources are filtered to replace tokens with
parameterised values or not.
|
void |
setFiltering(boolean filtering)
Set whether resources are filtered to replace tokens with
parameterised values or not.
|
void |
setMergeId(String mergeId)
Set fOR INTERNAL USE ONLY.
|
void |
setTargetPath(String targetPath)
Set describe the resource target path.
|
String |
toString() |
getDirectory, setDirectory
addExclude, addInclude, getExcludes, getIncludes, removeExclude, removeInclude, setExcludes, setIncludes
public String getMergeId()
public String getTargetPath()
${project.build.outputDirectory}
).
For example, if you want that resource to appear
in a specific package
(org.apache.maven.messages
), you
must specify this
element with this value:
org/apache/maven/messages
.
This is not required if you simply put the
resources in that directory
structure at the source, however.public boolean isFiltering()
properties
element and from the
properties in the files listed in the
filters
element.public void setFiltering(boolean filtering)
properties
element and from the
properties in the files listed in the
filters
element.filtering
- public void setMergeId(String mergeId)
mergeId
- public void setTargetPath(String targetPath)
${project.build.outputDirectory}
).
For example, if you want that resource to appear
in a specific package
(org.apache.maven.messages
), you
must specify this
element with this value:
org/apache/maven/messages
.
This is not required if you simply put the
resources in that directory
structure at the source, however.targetPath
- public void initMergeId()
public String toString()
toString
in class FileSet
Object.toString()
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.