Class MavenBuildSettings
java.lang.Object
io.spring.initializr.generator.buildsystem.BuildSettings
io.spring.initializr.generator.buildsystem.maven.MavenBuildSettings
Maven
BuildSettings
.- Author:
- Stephane Nicoll, Jafer Khan Shamshad
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the default goal or phase to execute if none is given.Return a human readable description of the project.Return the developers associated with the project.Return the final name of the artifact.Return the licenses associated with the project.getName()
Return a simple name for the project.Return thepackaging
to use ornull
to use the defaultjar
packaging.Return theMavenParent
to use ornull
if this project has no parent.getScm()
Return the version control section of the project.Return the location of main source code.Return the location of test source code.Methods inherited from class io.spring.initializr.generator.buildsystem.BuildSettings
getArtifact, getGroup, getVersion
-
Constructor Details
-
MavenBuildSettings
-
-
Method Details
-
getParent
Return theMavenParent
to use ornull
if this project has no parent.- Returns:
- the parent pom or
null
-
getPackaging
Return thepackaging
to use ornull
to use the defaultjar
packaging.- Returns:
- the packaging to use
-
getName
Return a simple name for the project.- Returns:
- the name of the project or
null
-
getDescription
Return a human readable description of the project.- Returns:
- the description of the project or
null
-
getLicenses
Return the licenses associated with the project.- Returns:
- the licenses of the project
-
getDevelopers
Return the developers associated with the project.- Returns:
- the developers of the project
-
getScm
Return the version control section of the project.- Returns:
- the version control of the project
-
getDefaultGoal
Return the default goal or phase to execute if none is given.- Returns:
- the default goal or
null
to use the default
-
getFinalName
Return the final name of the artifact.- Returns:
- the final name or
null
to use the default
-
getSourceDirectory
Return the location of main source code. Can use Maven properties such as${basedir}
.- Returns:
- the location of main source code or
null
to use the default
-
getTestSourceDirectory
Return the location of test source code. Can use Maven properties such as${basedir}
.- Returns:
- the location of test source code or
null
to use the default
-