java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenPlugin

public class MavenPlugin extends Object
A plugin in a MavenBuild.
Author:
Andy Wilkinson, Olga Maciaszek-Sharma
  • Constructor Details

  • Method Details

    • getGroupId

      public String getGroupId()
      Return the group ID of the plugin.
      Returns:
      the group ID
    • getArtifactId

      public String getArtifactId()
      Return the artifact ID of the plugin.
      Returns:
      the artifact ID
    • getVersion

      public String getVersion()
      Return the version of the plugin or null 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

      public List<MavenPlugin.Execution> getExecutions()
      Return the executions of the plugin.
      Returns:
      the executions
    • getDependencies

      public List<MavenPlugin.Dependency> getDependencies()
      Return the dependencies of the plugin.
      Returns:
      the dependencies
    • getConfiguration

      public MavenPlugin.Configuration getConfiguration()
      Return the configuration of the plugin.
      Returns:
      the configuration