aQute.maven.dto.PluginExecutionDTO Maven / Gradle / Ivy
package aQute.maven.dto;
import java.util.Map;
import aQute.bnd.util.dto.DTO;
/**
* The <execution>
element contains informations required for
* the execution of a plugin.
*/
public class PluginExecutionDTO extends DTO {
/**
* The identifier of this execution for labelling the goals during the
* build, and for matching executions to merge during inheritance and
* profile injection.
*/
public String id = "default";
/**
* 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.
*/
public String phase;
/**
* The goals to execute with the given configuration.
*/
public String[] goals;
/**
* 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
.
*/
public boolean inherited;
/**
*
* 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.
*
*/
public Map configuration;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy