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 class
Parent POM details. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the specifiedInitializrConfiguration.Env.Maven.ParentPom
is 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 specifiedbootVersion
is used.- Parameters:
bootVersion
- the Spring Boot version- Returns:
- the parent POM
-
isSpringBootStarterParent
Check if the specifiedInitializrConfiguration.Env.Maven.ParentPom
is the default spring boot starter parent.- Parameters:
parentPom
- the parent pom to check- Returns:
true
if theparentPom
is the spring boot starter parent
-