|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugins.scm.release.PomNodeSelector
This is a simple POM manipulator that doesn't take into account any sort of POM inheritance. When the interpolation and inheritance is cleaned up in the Maven we will be able to serialize a POM directly with greater ease. But we may stick with this Jaxen solution anyway because it's so easy. Just turn the POM in memory into a Dom4j document and perform the same operation as we are here.
Constructor Summary | |
PomNodeSelector()
Constructor. |
Method Summary | |
void |
execute()
Update the snapshot version identifiers with actual timestamp versions and write out the POM in its updated form. |
List |
getNodes()
Gets the nodes attribute of the PomManipulator object |
File |
getPom()
|
String |
getXpathExpression()
|
void |
setNodes(List nodes)
Sets the nodes attribute of the PomManipulator object |
void |
setPom(File pom)
|
void |
setXpathExpression(String xpathExpression)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PomNodeSelector()
Method Detail |
public void setXpathExpression(String xpathExpression)
public String getXpathExpression()
public void setNodes(List nodes)
public List getNodes()
public void setPom(File pom)
public File getPom()
public void execute() throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |