public class PomTag extends BaseTagSupport
| Constructor and Description |
|---|
PomTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform functionality provided by the tag
|
void |
setProjectDescriptor(java.io.File projectDescriptor)
Set MavenSession project descriptor.
|
void |
setUseInheritance(boolean useInheritance)
Define if the pom must use the inheritance.
|
void |
setVar(java.lang.String var)
Set var name for the POM.
|
checkAttribute, getMavenContextfindAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic void setProjectDescriptor(java.io.File projectDescriptor)
projectDescriptor - the file name of the maven project descriptorpublic void setVar(java.lang.String var)
var - Variable name for the pom.public void setUseInheritance(boolean useInheritance)
useInheritance - true if the pom object must use the inheritance.public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.MissingAttributeException,
org.apache.commons.jelly.JellyTagException
output - the place to write outputorg.apache.commons.jelly.JellyTagException - when the projectDescriptor attribute is missing, or
another error occursorg.apache.commons.jelly.MissingAttributeExceptionCopyright © 2001-2013 Apache Software Foundation. All Rights Reserved.