|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.maven.jelly.tags.BaseTagSupport org.apache.maven.jelly.tags.maven.MavenTag org.apache.maven.jelly.tags.maven.ReactorTag
Reactor tag that processes a set of project descriptors taking into consideration the inter-project dependencies.
Used for building a set of projects in the correct order to satisfy any dependencies among the projects being processed.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ReactorTag()
|
Method Summary | |
void |
afterLaunchGoals(Project project)
This method is running after launching project goals. |
void |
afterProject(Project project)
This method is running after launching a project. |
void |
beforeLaunchGoals(Project project)
This method is running before launching project goals. |
void |
beforeProject(Project project)
This method is running before launching a project. |
void |
doTag(XMLOutput output)
Execute the body of the reactor tag. |
java.lang.String |
getBanner()
Get the banner to be displayed for project while it is being processed. |
java.io.File |
getBasedir()
Getter for the basedir property |
java.lang.String |
getExcludes()
Get the excludes used to find projects. |
java.lang.String |
getGlob()
Get the glob used to find projects. |
java.lang.String |
getIncludes()
Get the includes used to find projects. |
boolean |
getPostProcessing()
Get the postProcessing attribute. |
java.util.List |
getProjectList()
Get the project list. |
void |
onDependencyResolutionException(java.lang.Exception e)
This method is running when an exception occurs in dependency resolution. |
void |
onException(Project project,
java.lang.Exception e)
This method is running when an exception occurs whatever the ignoreFailures value. |
void |
setBanner(java.lang.String banner)
Set the banner to be displayed for each project while it is being processed. |
void |
setBasedir(java.io.File basedir)
Setter for the basedir property XXX if the method it overrides is deprecated, is this also deprecated? |
void |
setCollectionVar(java.lang.String collectionVar)
Set the collectionVar attribute. |
void |
setCollectOnly(boolean collectOnly)
Set the collectOnly attribute. |
void |
setExcludes(java.lang.String excludes)
Set the excludes used to find projects. |
void |
setGlob(java.lang.String glob)
Deprecated. Use includes/excludes instead. |
void |
setIncludes(java.lang.String includes)
Set the includes used to find projects. |
void |
setPostProcessing(boolean postProcessing)
Set the postProcessing attribute. |
void |
setProjectList(java.util.List projectList)
Set the project list. |
void |
setSort(boolean sort)
|
Methods inherited from class org.apache.maven.jelly.tags.maven.MavenTag |
getDescriptor, getGoals, isIgnoreFailures, setDescriptor, setGoals, setIgnoreFailures |
Methods inherited from class org.apache.maven.jelly.tags.BaseTagSupport |
checkAttribute, getMavenContext |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReactorTag()
Method Detail |
public void setProjectList(java.util.List projectList)
projectList
- the project listpublic java.util.List getProjectList()
public void setBasedir(java.io.File basedir)
setBasedir
in class MavenTag
basedir
- the base directory for execution of the projectpublic java.io.File getBasedir()
public void setSort(boolean sort)
public void setCollectOnly(boolean collectOnly)
collectOnly
- if true, don't execute project goals; simply
gather the sorted project collection and store. Otherwise,
operate as before (execute either specified goals or default goal
for each project).public void setCollectionVar(java.lang.String collectionVar)
collectionVar
- The context variable for the project collection
discovered here.public void setPostProcessing(boolean postProcessing)
postProcessing
- public boolean getPostProcessing()
public void setGlob(java.lang.String glob)
glob
- The glob used to find projects.public java.lang.String getGlob()
public void setIncludes(java.lang.String includes)
includes
- The includes used to find projects.public java.lang.String getIncludes()
public void setExcludes(java.lang.String excludes)
excludes
- The excludes used to find projects.public java.lang.String getExcludes()
public void setBanner(java.lang.String banner)
banner
- The banner to use for each processed project.public java.lang.String getBanner()
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
doTag
in interface Tag
doTag
in class MavenTag
output
- The output sink.
JellyTagException
- If an error occurs while processing the tag.
MissingAttributeException
public void beforeProject(Project project)
project
- the currentProjectpublic void beforeLaunchGoals(Project project)
project
- the currentProjectpublic void afterLaunchGoals(Project project)
project
- the currentProjectpublic void afterProject(Project project)
project
- the currentProjectpublic void onException(Project project, java.lang.Exception e)
project
- the currentProjecte
- the exceptionpublic void onDependencyResolutionException(java.lang.Exception e)
e
- the exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |