Interface MavenPomModel
public interface MavenPomModel
Describes a Maven pom.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the artifact id of the Model.Gets the group id of the Model.Gets packaging of the Model.Gets the pom parent of the Model.Gets the pom file.Gets the version of the Model.
-
Method Details
-
getParent
Optional<PomParentCoordinates> 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
Gets the pom file.- Returns:
- a
Filepointing to the pom if exists.
-