public class MavenResource extends Object
MavenBuild.| Modifier and Type | Class and Description |
|---|---|
static class |
MavenResource.Builder
Builder for a resource.
|
| Constructor and Description |
|---|
MavenResource(MavenResource.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDirectory()
Return the directory where resources are to be found.
|
List<String> |
getExcludes()
Return files patterns which specify the files to ignore as resources under that
specified directory.
|
List<String> |
getIncludes()
Return files patterns which specify the files to include as resources under that
specified directory.
|
String |
getTargetPath()
Return the directory structure to place the set of resources from a build.
|
boolean |
isFiltering()
Return whether filtering is enabled when copying resources.
|
public MavenResource(MavenResource.Builder builder)
public String getDirectory()
${basedir}/src/main.public String getTargetPath()
null by default which represents the root directory.nullpublic boolean isFiltering()
true if filtering is enabledpublic List<String> getIncludes()
* for all.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.