|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.maven.jelly.tags.BaseTagSupport
org.apache.maven.jelly.tags.maven.PomTag
MavenSession Jelly tag that creates a POM instance. By default, the inheritance in the POM isn't used. You must use the attribute useInheritance to activate it.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
PomTag()
|
Method Summary | |
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. |
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 PomTag()
Method Detail |
public 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 output
org.apache.commons.jelly.JellyTagException
- when the projectDescriptor attribute is missing, or
another error occurs
org.apache.commons.jelly.MissingAttributeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |