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

    Fields
    Modifier and Type
    Field
    Description
    The 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.
    boolean
    Whether any configuration should be propagated to child POMs.
    aQute.bnd.version.MavenVersion
    The version (or valid range of versions) of the plugin to be used.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class aQute.bnd.util.dto.DTO

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • groupId

      public String groupId
      The group ID of the plugin in the repository.
    • artifactId

      public String artifactId
      The artifact ID of the plugin in the repository.
    • version

      public aQute.bnd.version.MavenVersion version
      The version (or valid range of versions) of the plugin to be used.
    • extensions

      public String 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 is String for technical reasons, the semantic type is actually Boolean . Default value is false.
    • executions

      public PluginExecutionDTO[] executions
      Multiple specifications of a set of goals to execute during the build lifecycle, each having (possibly) a different configuration.
    • depencies

      public DependencyDTO[] depencies
      Additional dependencies that this project needs to introduce to the plugin's classloader.
    • inherited

      public boolean inherited
      Whether any configuration should be propagated to child POMs. Note: While the type of this field is String for technical reasons, the semantic type is actually Boolean. Default value is true.
    • configuration

      public Map<String,String> 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.children or combine.self attributes to the children of the configuration element:

      • combine.children: available values are merge (default) and append,
      • combine.self: available values are merge (default) and override.

      See POM Reference documentation and Xpp3DomUtils for more information.

  • Constructor Details

    • PluginDTO

      public PluginDTO()