Class MavenParent
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenParent
The
<parent>
in a Maven pom.- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionReturn the artifact ID of the parent.Return the group ID of the parent.Return the relative path of this parent.Return the version of the parent.
-
Method Details
-
getGroupId
Return the group ID of the parent.- Returns:
- the group ID
-
getArtifactId
Return the artifact ID of the parent.- Returns:
- the artifact ID
-
getVersion
Return the version of the parent.- Returns:
- the version
-
getRelativePath
Return the relative path of this parent.- Returns:
- the relative path of this parent or
null
.
-