Package org.apache.maven.api.model
Class Plugin.Builder
java.lang.Object
org.apache.maven.api.model.ConfigurationContainer.Builder
org.apache.maven.api.model.Plugin.Builder
- Enclosing class:
- Plugin
Builder class used to create Plugin instances.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionartifactId
(String artifactId) build()
configuration
(XmlNode configuration) dependencies
(Collection<Dependency> dependencies) executions
(Collection<PluginExecution> executions) extensions
(String extensions) importedFrom
(InputLocation importedFrom) location
(Object key, InputLocation location)
-
Constructor Details
-
Builder
protected Builder(boolean withDefaults) -
Builder
-
-
Method Details
-
inherited
- Overrides:
inherited
in classConfigurationContainer.Builder
-
configuration
- Overrides:
configuration
in classConfigurationContainer.Builder
-
groupId
-
artifactId
-
version
-
extensions
-
executions
-
dependencies
-
location
- Overrides:
location
in classConfigurationContainer.Builder
-
importedFrom
- Overrides:
importedFrom
in classConfigurationContainer.Builder
-
build
- Overrides:
build
in classConfigurationContainer.Builder
-