|
|||||||||||
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
A way of running maven as a Jelly tag
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
MavenTag()
|
Method Summary | |
void |
doTag(XMLOutput output)
Process the tag. |
java.io.File |
getDescriptor()
Getter for the descriptor property |
java.lang.String |
getGoals()
Getter for the goals property |
boolean |
isIgnoreFailures()
Get the ignore failures flag. |
void |
setBasedir(java.io.File basedir)
Deprecated. You only need to specify the project descriptor. |
void |
setDescriptor(java.io.File descriptor)
Setter for the descriptor property |
void |
setGoals(java.lang.String goals)
Setter for the goals property |
void |
setIgnoreFailures(boolean ignoreFailures)
Set the ignore failures flag. |
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 MavenTag()
Method Detail |
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
maven.obj
in the context, add the provided
goals and verify.
output
- for providing xml output
JellyTagException
- if anything goes wrong.
MissingAttributeException
public void setDescriptor(java.io.File descriptor)
descriptor
- the maven project descriptor to be readpublic java.io.File getDescriptor()
public void setBasedir(java.io.File basedir)
basedir
- the base directory for execution of the projectpublic void setGoals(java.lang.String goals)
goals
- a comma separated list of goal names to attainpublic java.lang.String getGoals()
public void setIgnoreFailures(boolean ignoreFailures)
ignoreFailures
- The ignore failures flag.public boolean isIgnoreFailures()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |