Class MavenPlugin
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenPlugin
A plugin in a
MavenBuild
.- Author:
- Andy Wilkinson, Olga Maciaszek-Sharma
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for aMavenPlugin
.static final class
static class
Builder for aMavenPlugin.Configuration
.static final class
A<dependency>
of aMavenPlugin
.static final class
An<execution>
of aMavenPlugin
.static class
Builder for anMavenPlugin.Execution
.static final class
A setting in aMavenPlugin.Configuration
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the artifact ID of the plugin.Return the configuration of the plugin.Return the dependencies of the plugin.Return the executions of the plugin.Return the group ID of the plugin.Return the version of the plugin ornull
if the version of the plugin is managed.boolean
Return whether to load extensions of this plugin.
-
Constructor Details
-
MavenPlugin
-
-
Method Details
-
getGroupId
Return the group ID of the plugin.- Returns:
- the group ID
-
getArtifactId
Return the artifact ID of the plugin.- Returns:
- the artifact ID
-
getVersion
Return the version of the plugin ornull
if the version of the plugin is managed.- Returns:
- the version or
null
-
isExtensions
public boolean isExtensions()Return whether to load extensions of this plugin.- Returns:
true
to load extensions
-
getExecutions
Return the executions of the plugin.- Returns:
- the executions
-
getDependencies
Return the dependencies of the plugin.- Returns:
- the dependencies
-
getConfiguration
Return the configuration of the plugin.- Returns:
- the configuration
-