public class DependencySet extends Object implements Serializable
Constructor and Description |
---|
DependencySet() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(String string)
Method addExclude.
|
void |
addInclude(String string)
Method addInclude.
|
String |
getDirectoryMode()
Get similar to a UNIX permission, sets the directory mode of
the directories
included.
|
List<String> |
getExcludes()
Method getExcludes.
|
String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the
files included.
|
List<String> |
getIncludes()
Method getIncludes.
|
String |
getOutputDirectory()
Get sets the output directory relative to the root
of the root directory of the assembly.
|
String |
getOutputFileNameMapping()
Get sets the mapping pattern for all dependencies included
in this
assembly.
|
String |
getScope()
Get sets the dependency scope for this dependencySet.
|
UnpackOptions |
getUnpackOptions()
Get allows the specification of includes and excludes, along
with filtering options, for items
unpacked from a dependency artifact.
|
boolean |
isUnpack()
Get if set to true, this property will unpack all
dependencies
into the specified output directory.
|
boolean |
isUseProjectArtifact()
Get determines whether the artifact produced during the
current project's
build should be included in this dependency set.
|
boolean |
isUseProjectAttachments()
Get determines whether the attached artifacts produced
during the current project's
build should be included in this dependency set.
|
boolean |
isUseStrictFiltering()
Get when specified as true, any include/exclude patterns
which aren't used to filter an actual
artifact during assembly creation will cause the
build to fail with an error.
|
boolean |
isUseTransitiveDependencies()
Get determines whether transitive dependencies will be
included in the processing of
the current dependency set.
|
boolean |
isUseTransitiveFiltering()
Get determines whether the include/exclude patterns in this
dependency set will be applied to
the transitive path of a given artifact.
|
void |
removeExclude(String string)
Method removeExclude.
|
void |
removeInclude(String string)
Method removeInclude.
|
void |
setDirectoryMode(String directoryMode)
Set similar to a UNIX permission, sets the directory mode of
the directories
included.
|
void |
setExcludes(List<String> excludes)
Set when <exclude> subelements are present, they
define a set of
dependency artifact coordinates to exclude.
|
void |
setFileMode(String fileMode)
Set similar to a UNIX permission, sets the file mode of the
files included.
|
void |
setIncludes(List<String> includes)
Set when <include> subelements are present, they
define a set of
artifact coordinates to include.
|
void |
setOutputDirectory(String outputDirectory)
Set sets the output directory relative to the root
of the root directory of the assembly.
|
void |
setOutputFileNameMapping(String outputFileNameMapping)
Set sets the mapping pattern for all dependencies included
in this
assembly.
|
void |
setScope(String scope)
Set sets the dependency scope for this dependencySet.
|
void |
setUnpack(boolean unpack)
Set if set to true, this property will unpack all
dependencies
into the specified output directory.
|
void |
setUnpackOptions(UnpackOptions unpackOptions)
Set allows the specification of includes and excludes, along
with filtering options, for items
unpacked from a dependency artifact.
|
void |
setUseProjectArtifact(boolean useProjectArtifact)
Set determines whether the artifact produced during the
current project's
build should be included in this dependency set.
|
void |
setUseProjectAttachments(boolean useProjectAttachments)
Set determines whether the attached artifacts produced
during the current project's
build should be included in this dependency set.
|
void |
setUseStrictFiltering(boolean useStrictFiltering)
Set when specified as true, any include/exclude patterns
which aren't used to filter an actual
artifact during assembly creation will cause the
build to fail with an error.
|
void |
setUseTransitiveDependencies(boolean useTransitiveDependencies)
Set determines whether transitive dependencies will be
included in the processing of
the current dependency set.
|
void |
setUseTransitiveFiltering(boolean useTransitiveFiltering)
Set determines whether the include/exclude patterns in this
dependency set will be applied to
the transitive path of a given artifact.
|
public void addExclude(String string)
string
- a string object.public void addInclude(String string)
string
- a string object.public String getDirectoryMode()
public String getFileMode()
public String getOutputDirectory()
public String getOutputFileNameMapping()
public String getScope()
public UnpackOptions getUnpackOptions()
public boolean isUnpack()
public boolean isUseProjectArtifact()
public boolean isUseProjectAttachments()
public boolean isUseStrictFiltering()
public boolean isUseTransitiveDependencies()
public boolean isUseTransitiveFiltering()
public void removeExclude(String string)
string
- a string object.public void removeInclude(String string)
string
- a string object.public void setDirectoryMode(String directoryMode)
directoryMode
- a directoryMode object.public void setExcludes(List<String> excludes)
excludes
- a excludes object.public void setFileMode(String fileMode)
fileMode
- a fileMode object.public void setIncludes(List<String> includes)
includes
- a includes object.public void setOutputDirectory(String outputDirectory)
outputDirectory
- a outputDirectory object.public void setOutputFileNameMapping(String outputFileNameMapping)
outputFileNameMapping
- a outputFileNameMapping object.public void setScope(String scope)
scope
- a scope object.public void setUnpack(boolean unpack)
unpack
- a unpack object.public void setUnpackOptions(UnpackOptions unpackOptions)
unpackOptions
- a unpackOptions object.public void setUseProjectArtifact(boolean useProjectArtifact)
useProjectArtifact
- a useProjectArtifact object.public void setUseProjectAttachments(boolean useProjectAttachments)
useProjectAttachments
- a useProjectAttachments object.public void setUseStrictFiltering(boolean useStrictFiltering)
useStrictFiltering
- a useStrictFiltering object.public void setUseTransitiveDependencies(boolean useTransitiveDependencies)
useTransitiveDependencies
- a useTransitiveDependencies
object.public void setUseTransitiveFiltering(boolean useTransitiveFiltering)
useTransitiveFiltering
- a useTransitiveFiltering objectCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.