public class MutablePomFile extends Object
Constructor and Description |
---|
MutablePomFile(de.pdark.decentxml.Document pom) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
List<GAV> |
getDependencies() |
DependencyManagement |
getDependencyManagement() |
String |
getEffectiveGroupId() |
String |
getEffectiveVersion() |
String |
getGroupId() |
List<String> |
getModules() |
String |
getPackaging() |
GAV |
getParent() |
String |
getParentVersion() |
List<Profile> |
getProfiles() |
String |
getVersion() |
static MutablePomFile |
read(File file) |
static MutablePomFile |
read(InputStream input) |
void |
setParentVersion(String newVersion) |
void |
setVersion(String version) |
static void |
write(MutablePomFile pom,
File file) |
static void |
write(MutablePomFile pom,
OutputStream out) |
public static MutablePomFile read(File file) throws IOException
IOException
public static MutablePomFile read(InputStream input) throws IOException
IOException
public static void write(MutablePomFile pom, OutputStream out) throws IOException
IOException
public static void write(MutablePomFile pom, File file) throws IOException
IOException
public void setVersion(String version)
public void setParentVersion(String newVersion)
public String getVersion()
public String getEffectiveVersion()
public String getPackaging()
public String getParentVersion()
public String getGroupId()
public String getEffectiveGroupId()
public String getArtifactId()
public GAV getParent()
public DependencyManagement getDependencyManagement()
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.