Class MavenBuild
java.lang.Object
io.spring.initializr.generator.buildsystem.Build
io.spring.initializr.generator.buildsystem.maven.MavenBuild
Maven-specific build configuration.
- Author:
- Andy Wilkinson, Stephane Nicoll, Niklas Herder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a builder to configure the distribution management of this build.Return the extension container to use to configure extensions.Return the distribution management of this build.Return the settings of this build.plugins()
Return the plugin container to use to configure plugins.profiles()
Return the profile container to use to configure profiles.Return the resource container to use to configure main resources.settings()
Return a builder to configure the general settings of this build.Return the resource container to use to configure test resources.Methods inherited from class io.spring.initializr.generator.buildsystem.Build
boms, dependencies, determineBuildItemResolver, pluginRepositories, properties, repositories
-
Constructor Details
-
MavenBuild
-
MavenBuild
public MavenBuild()
-
-
Method Details
-
settings
Description copied from class:Build
Return a builder to configure the general settings of this build.- Specified by:
settings
in classBuild
- Returns:
- a builder for
BuildSettings
.
-
getSettings
Description copied from class:Build
Return the settings of this build.- Specified by:
getSettings
in classBuild
- Returns:
- a
BuildSettings
-
distributionManagement
Return a builder to configure the distribution management of this build.- Returns:
- a builder for
MavenDistributionManagement
-
getDistributionManagement
Return the distribution management of this build.- Returns:
- the
MavenDistributionManagement
-
resources
Return the resource container to use to configure main resources.- Returns:
- the
MavenRepositoryContainer
for main resources
-
testResources
Return the resource container to use to configure test resources.- Returns:
- the
MavenRepositoryContainer
for test resources
-
plugins
Return the plugin container to use to configure plugins.- Returns:
- the
MavenPluginContainer
-
extensions
Return the extension container to use to configure extensions.- Returns:
- the
MavenExtensionContainer
-
profiles
Return the profile container to use to configure profiles.- Returns:
- the
MavenProfileContainer
-