Package com.soebes.itf.maven.plugin
Class PomUtils
java.lang.Object
com.soebes.itf.maven.plugin.PomUtils
Provides utility methods for POM processing.
- Author:
- Benjamin Bentmann
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PomUtils
PomUtils()
-
-
Method Details
-
loadPom
public static org.apache.maven.model.Model loadPom(File pomFile) throws org.apache.maven.plugin.MojoExecutionException Loads the (raw) model from the specified POM file.- Parameters:
pomFile
- The path to the POM file to load, must not benull
.- Returns:
- The raw model, never
null
. - Throws:
org.apache.maven.plugin.MojoExecutionException
- If the POM file could not be loaded.
-