Package aQute.maven.dto
Class PluginDTO
java.lang.Object
aQute.bnd.util.dto.DTO
aQute.maven.dto.PluginDTO
public class PluginDTO
extends aQute.bnd.util.dto.DTO
The
<plugin> element contains informations required for a
plugin.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe artifact ID of the plugin in the repository.The configuration as DOM object.Additional dependencies that this project needs to introduce to the plugin's classloader.Multiple specifications of a set of goals to execute during the build lifecycle, each having (possibly) a different configuration.Whether to load Maven extensions (such as packaging and type handlers) from this plugin.The group ID of the plugin in the repository.booleanWhether any configuration should be propagated to child POMs.aQute.bnd.version.MavenVersionThe version (or valid range of versions) of the plugin to be used. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class aQute.bnd.util.dto.DTO
toString
-
Field Details
-
groupId
The group ID of the plugin in the repository. -
artifactId
The artifact ID of the plugin in the repository. -
version
public aQute.bnd.version.MavenVersion versionThe version (or valid range of versions) of the plugin to be used. -
extensions
Whether to load Maven extensions (such as packaging and type handlers) from this plugin. For performance reasons, this should only be enabled when necessary. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value isfalse. -
executions
Multiple specifications of a set of goals to execute during the build lifecycle, each having (possibly) a different configuration. -
depencies
Additional dependencies that this project needs to introduce to the plugin's classloader. -
inherited
public boolean inheritedWhether any configuration should be propagated to child POMs. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value istrue. -
configuration
The configuration as DOM object.
By default, every element content is trimmed, but starting with Maven 3.1.0, you can add
xml:space="preserve"to elements you want to preserve whitespace.You can control how child POMs inherit configuration from parent POMs by adding
combine.childrenorcombine.selfattributes to the children of the configuration element:combine.children: available values aremerge(default) andappend,combine.self: available values aremerge(default) andoverride.
See POM Reference documentation and Xpp3DomUtils for more information.
-
-
Constructor Details
-
PluginDTO
public PluginDTO()
-