Class PluginExecutionDTO

java.lang.Object
aQute.bnd.util.dto.DTO
aQute.maven.dto.PluginExecutionDTO

public class PluginExecutionDTO extends aQute.bnd.util.dto.DTO
The <execution> element contains informations required for the execution of a plugin.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The configuration as DOM object.
    The goals to execute with the given configuration.
    The identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
    boolean
    Whether any configuration should be propagated to child POMs.
    The build lifecycle phase to bind the goals in this execution to.
  • 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

    • id

      public String id
      The identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
    • phase

      public String phase
      The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified by the plugin.
    • goals

      public String[] goals
      The goals to execute with the given configuration.
    • 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,Object> 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

    • PluginExecutionDTO

      public PluginExecutionDTO()