class PomUtils
extends java.lang.Object
Constructor and Description |
---|
PomUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.maven.model.Model |
loadPom(java.io.File pomFile)
Loads the (raw) model from the specified POM file.
|
public static org.apache.maven.model.Model loadPom(java.io.File pomFile) throws org.apache.maven.plugin.MojoExecutionException
pomFile
- The path to the POM file to load, must not be null
.null
.org.apache.maven.plugin.MojoExecutionException
- If the POM file could not be loaded.