public class MavenPlugin extends Object
MavenBuild.| Modifier and Type | Class and Description |
|---|---|
static class |
MavenPlugin.Builder
Builder for a
MavenPlugin. |
static class |
MavenPlugin.Configuration
|
static class |
MavenPlugin.ConfigurationBuilder
Builder for a
MavenPlugin.Configuration. |
static class |
MavenPlugin.Dependency
A
<dependency> of a MavenPlugin. |
static class |
MavenPlugin.Execution
An
<execution> of a MavenPlugin. |
static class |
MavenPlugin.ExecutionBuilder
Builder for an
MavenPlugin.Execution. |
static class |
MavenPlugin.Setting
A setting in a
MavenPlugin.Configuration. |
| Modifier | Constructor and Description |
|---|---|
protected |
MavenPlugin(MavenPlugin.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId()
Return the artifact ID of the plugin.
|
MavenPlugin.Configuration |
getConfiguration()
Return the configuration of the plugin.
|
List<MavenPlugin.Dependency> |
getDependencies()
Return the dependencies of the plugin.
|
List<MavenPlugin.Execution> |
getExecutions()
Return the executions of the plugin.
|
String |
getGroupId()
Return the group ID of the plugin.
|
String |
getVersion()
Return the version of the plugin or
null if the version of the plugin is
managed. |
boolean |
isExtensions()
Return whether to load extensions of this plugin.
|
protected MavenPlugin(MavenPlugin.Builder builder)
public String getGroupId()
public String getArtifactId()
public String getVersion()
null if the version of the plugin is
managed.nullpublic boolean isExtensions()
true to load extensionspublic List<MavenPlugin.Execution> getExecutions()
public List<MavenPlugin.Dependency> getDependencies()
public MavenPlugin.Configuration getConfiguration()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.