public interface MavenPomModel
Describes a Maven pom.
Since:
2.0.0
  • Method Details

    • getParent

      Gets the pom parent of the Model.
      Returns:
      the parent
    • getGroupId

      String getGroupId()
      Gets the group id of the Model.
      Returns:
      the group id
    • getArtifactId

      String getArtifactId()
      Gets the artifact id of the Model.
      Returns:
      the artifact id
    • getVersion

      String getVersion()
      Gets the version of the Model.
      Returns:
      the version
    • getPackaging

      String getPackaging()
      Gets packaging of the Model.
      Returns:
      the packaging or null if the packaging is not specify in the pom.
    • getPomFile

      Optional<File> getPomFile()
      Gets the pom file.
      Returns:
      a File pointing to the pom if exists.