public class ModuleSet
extends java.lang.Object
implements java.io.Serializable
NOTE: When using <moduleSets> from the command-line, it is required to pass first the package phase by doing: "mvn package assembly:assembly". This bug/issue is scheduled to be addressed by Maven 2.1.
Modifier and Type | Field and Description |
---|---|
private ModuleBinaries |
binaries
When this is present, the plugin will include
the binaries of the
included modules from this set in the resulting
assembly.
|
private java.util.List<java.lang.String> |
excludes
Field excludes.
|
private java.util.List<java.lang.String> |
includes
Field includes.
|
private boolean |
includeSubModules
If set to false, the plugin will exclude
sub-modules from processing in this ModuleSet.
|
private ModuleSources |
sources
When this is present, the plugin will include
the source files of
the included modules from this set in the
resulting assembly.
|
private boolean |
useAllReactorProjects
If set to true, the plugin will include all
projects in the current reactor for processing
in this ModuleSet.
|
Constructor and Description |
---|
ModuleSet() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
void |
addInclude(java.lang.String string)
Method addInclude.
|
ModuleBinaries |
getBinaries()
Get when this is present, the plugin will include the
binaries of the
included modules from this set in the resulting
assembly.
|
java.util.List<java.lang.String> |
getExcludes()
Method getExcludes.
|
java.util.List<java.lang.String> |
getIncludes()
Method getIncludes.
|
ModuleSources |
getSources()
Get when this is present, the plugin will include the source
files of
the included modules from this set in the
resulting assembly.
|
boolean |
isIncludeSubModules()
Get if set to false, the plugin will exclude sub-modules
from processing in this ModuleSet.
|
boolean |
isUseAllReactorProjects()
Get if set to true, the plugin will include all projects in
the current reactor for processing
in this ModuleSet.
|
void |
removeExclude(java.lang.String string)
Method removeExclude.
|
void |
removeInclude(java.lang.String string)
Method removeInclude.
|
void |
setBinaries(ModuleBinaries binaries)
Set when this is present, the plugin will include the
binaries of the
included modules from this set in the resulting
assembly.
|
void |
setExcludes(java.util.List<java.lang.String> excludes)
Set when <exclude> subelements are present, they
define a set of
project artifact coordinates to exclude.
|
void |
setIncludes(java.util.List<java.lang.String> includes)
Set when <include> subelements are present, they
define a set of
project coordinates to include.
|
void |
setIncludeSubModules(boolean includeSubModules)
Set if set to false, the plugin will exclude sub-modules
from processing in this ModuleSet.
|
void |
setSources(ModuleSources sources)
Set when this is present, the plugin will include the source
files of
the included modules from this set in the
resulting assembly.
|
void |
setUseAllReactorProjects(boolean useAllReactorProjects)
Set if set to true, the plugin will include all projects in
the current reactor for processing
in this ModuleSet.
|
private boolean useAllReactorProjects
private boolean includeSubModules
private java.util.List<java.lang.String> includes
private java.util.List<java.lang.String> excludes
private ModuleSources sources
private ModuleBinaries binaries
public void addExclude(java.lang.String string)
string
- public void addInclude(java.lang.String string)
string
- public ModuleBinaries getBinaries()
public java.util.List<java.lang.String> getExcludes()
public java.util.List<java.lang.String> getIncludes()
public ModuleSources getSources()
public boolean isIncludeSubModules()
public boolean isUseAllReactorProjects()
public void removeExclude(java.lang.String string)
string
- public void removeInclude(java.lang.String string)
string
- public void setBinaries(ModuleBinaries binaries)
binaries
- public void setExcludes(java.util.List<java.lang.String> excludes)
excludes
- public void setIncludeSubModules(boolean includeSubModules)
includeSubModules
- public void setIncludes(java.util.List<java.lang.String> includes)
includes
- public void setSources(ModuleSources sources)
sources
- public void setUseAllReactorProjects(boolean useAllReactorProjects)
useAllReactorProjects
-