Package io.spring.initializr.metadata
Class InitializrConfiguration.Env.Maven
java.lang.Object
io.spring.initializr.metadata.InitializrConfiguration.Env.Maven
- Enclosing class:
- InitializrConfiguration.Env
Maven details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classParent POM details. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the specifiedInitializrConfiguration.Env.Maven.ParentPomis the default spring boot starter parent.resolveParentPom(String bootVersion) Resolve the parent pom to use.
-
Constructor Details
-
Maven
public Maven()
-
-
Method Details
-
getParent
-
resolveParentPom
Resolve the parent pom to use. If no custom parent pom is set, the standard spring boot parent pom with the specifiedbootVersionis used.- Parameters:
bootVersion- the Spring Boot version- Returns:
- the parent POM
-
isSpringBootStarterParent
Check if the specifiedInitializrConfiguration.Env.Maven.ParentPomis the default spring boot starter parent.- Parameters:
parentPom- the parent pom to check- Returns:
trueif theparentPomis the spring boot starter parent
-