public class DependencySet
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directoryMode
Similar to a UNIX permission, sets the directory
mode of the directories
included.
|
private java.util.List<java.lang.String> |
excludes
Field excludes.
|
private java.lang.String |
fileMode
Similar to a UNIX permission, sets the file mode
of the files included.
|
private java.util.List<java.lang.String> |
includes
Field includes.
|
private java.lang.String |
outputDirectory
Sets the output directory relative to the root
of the root directory of the assembly.
|
private java.lang.String |
outputFileNameMapping
Sets the mapping pattern for all dependencies
included in this
assembly.
|
private java.lang.String |
scope
Sets the dependency scope for this
dependencySet.
|
private boolean |
unpack
If set to true, this property will unpack all
dependencies
into the specified output directory.
|
private UnpackOptions |
unpackOptions
Allows the specification of includes and excludes,
along with filtering options, for items
unpacked from a dependency artifact.
|
private boolean |
useProjectArtifact
Determines whether the artifact produced during
the current project's
build should be included in this dependency set.
|
private boolean |
useProjectAttachments
Determines whether the attached artifacts produced
during the current project's
build should be included in this dependency set.
|
private boolean |
useStrictFiltering
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.
|
private boolean |
useTransitiveDependencies
Determines whether transitive dependencies will be
included in the processing of
the current dependency set.
|
private boolean |
useTransitiveFiltering
Determines whether the include/exclude patterns in
this dependency set will be applied to
the transitive path of a given artifact.
|
Constructor and Description |
---|
DependencySet() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
void |
addInclude(java.lang.String string)
Method addInclude.
|
java.lang.String |
getDirectoryMode()
Get similar to a UNIX permission, sets the directory mode of
the directories
included.
|
java.util.List<java.lang.String> |
getExcludes()
Method getExcludes.
|
java.lang.String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the
files included.
|
java.util.List<java.lang.String> |
getIncludes()
Method getIncludes.
|
java.lang.String |
getOutputDirectory()
Get sets the output directory relative to the root
of the root directory of the assembly.
|
java.lang.String |
getOutputFileNameMapping()
Get sets the mapping pattern for all dependencies included
in this
assembly.
|
java.lang.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(java.lang.String string)
Method removeExclude.
|
void |
removeInclude(java.lang.String string)
Method removeInclude.
|
void |
setDirectoryMode(java.lang.String directoryMode)
Set similar to a UNIX permission, sets the directory mode of
the directories
included.
|
void |
setExcludes(java.util.List<java.lang.String> excludes)
Set when <exclude> subelements are present, they
define a set of
dependency artifact coordinates to exclude.
|
void |
setFileMode(java.lang.String fileMode)
Set similar to a UNIX permission, sets the file mode of the
files included.
|
void |
setIncludes(java.util.List<java.lang.String> includes)
Set when <include> subelements are present, they
define a set of
artifact coordinates to include.
|
void |
setOutputDirectory(java.lang.String outputDirectory)
Set sets the output directory relative to the root
of the root directory of the assembly.
|
void |
setOutputFileNameMapping(java.lang.String outputFileNameMapping)
Set sets the mapping pattern for all dependencies included
in this
assembly.
|
void |
setScope(java.lang.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.
|
private java.lang.String outputDirectory
private java.util.List<java.lang.String> includes
private java.util.List<java.lang.String> excludes
private java.lang.String fileMode
private java.lang.String directoryMode
private boolean useStrictFiltering
private java.lang.String outputFileNameMapping
private boolean unpack
private UnpackOptions unpackOptions
private java.lang.String scope
private boolean useProjectArtifact
private boolean useProjectAttachments
private boolean useTransitiveDependencies
private boolean useTransitiveFiltering
public void addExclude(java.lang.String string)
string
- public void addInclude(java.lang.String string)
string
- public java.lang.String getDirectoryMode()
public java.util.List<java.lang.String> getExcludes()
public java.lang.String getFileMode()
public java.util.List<java.lang.String> getIncludes()
public java.lang.String getOutputDirectory()
public java.lang.String getOutputFileNameMapping()
public java.lang.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(java.lang.String string)
string
- public void removeInclude(java.lang.String string)
string
- public void setDirectoryMode(java.lang.String directoryMode)
directoryMode
- public void setExcludes(java.util.List<java.lang.String> excludes)
excludes
- public void setFileMode(java.lang.String fileMode)
fileMode
- public void setIncludes(java.util.List<java.lang.String> includes)
includes
- public void setOutputDirectory(java.lang.String outputDirectory)
outputDirectory
- public void setOutputFileNameMapping(java.lang.String outputFileNameMapping)
outputFileNameMapping
- public void setScope(java.lang.String scope)
scope
- public void setUnpack(boolean unpack)
unpack
- public void setUnpackOptions(UnpackOptions unpackOptions)
unpackOptions
- public void setUseProjectArtifact(boolean useProjectArtifact)
useProjectArtifact
- public void setUseProjectAttachments(boolean useProjectAttachments)
useProjectAttachments
- public void setUseStrictFiltering(boolean useStrictFiltering)
useStrictFiltering
- public void setUseTransitiveDependencies(boolean useTransitiveDependencies)
useTransitiveDependencies
- public void setUseTransitiveFiltering(boolean useTransitiveFiltering)
useTransitiveFiltering
-