|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.scijava.maven.plugin.util.PomEditor
public class PomEditor
An editor to modify pom.xml files.
| Constructor Summary | |
|---|---|
PomEditor(InputStream inputStream,
org.apache.maven.plugin.logging.Log log)
Parses the specified pom.xml file. |
|
| Method Summary | |
|---|---|
int |
visitVersions(VersionVisitor visitor)
Inspect all referenced groupId/artifactId/version triplets, allowing to re-set the version. |
void |
write(Writer writer)
Writes out the modified pom.xml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PomEditor(InputStream inputStream,
org.apache.maven.plugin.logging.Log log)
throws ParserConfigurationException,
SAXException,
IOException
file - the pom.xml file
ParserConfigurationException
SAXException
IOException| Method Detail |
|---|
public void write(Writer writer)
throws DOMException,
IOException
file - the pom.xml file
DOMException
IOException
public int visitVersions(VersionVisitor visitor)
throws XPathExpressionException,
org.apache.maven.plugin.MojoExecutionException
XPathExpressionException
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||