public class MavenTag extends BaseTagSupport
| Constructor and Description |
|---|
MavenTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag(org.apache.commons.jelly.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.
|
checkAttribute, getMavenContextfindAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.MissingAttributeException,
org.apache.commons.jelly.JellyTagException
maven.obj in the context, add the provided
goals and verify.output - for providing xml outputorg.apache.commons.jelly.JellyTagException - if anything goes wrong.org.apache.commons.jelly.MissingAttributeExceptionpublic 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()
Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.