|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.assembly.model.ModuleSet
public class ModuleSet
A moduleSet represent one or more project <module>
present inside
a project's pom.xml. This allows you to include sources
or binaries
belonging to a project's <modules>.
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.
| Constructor Summary | |
|---|---|
ModuleSet()
|
|
| Method Summary | |
|---|---|
void |
addExclude(String string)
Method addExclude. |
void |
addInclude(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. |
List<String> |
getExcludes()
Method getExcludes. |
List<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(String string)
Method removeExclude. |
void |
removeInclude(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(List<String> excludes)
Set when <exclude> subelements are present, they define a set of project artifact coordinates to exclude. |
void |
setIncludes(List<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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleSet()
| Method Detail |
|---|
public void addExclude(String string)
string - public void addInclude(String string)
string - public ModuleBinaries getBinaries()
public List<String> getExcludes()
public List<String> getIncludes()
public ModuleSources getSources()
public boolean isIncludeSubModules()
public boolean isUseAllReactorProjects()
public void removeExclude(String string)
string - public void removeInclude(String string)
string - public void setBinaries(ModuleBinaries binaries)
binaries - public void setExcludes(List<String> excludes)
excludes - public void setIncludeSubModules(boolean includeSubModules)
includeSubModules - public void setIncludes(List<String> includes)
includes - public void setSources(ModuleSources sources)
sources - public void setUseAllReactorProjects(boolean useAllReactorProjects)
useAllReactorProjects -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||