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 classBuilder for aMavenPlugin.static final classstatic classBuilder for aMavenPlugin.Configuration.static final classA<dependency>of aMavenPlugin.static final classAn<execution>of aMavenPlugin.static classBuilder for anMavenPlugin.Execution.static final classA 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 ornullif the version of the plugin is managed.booleanReturn 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 ornullif 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:
trueto 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
-