complexType "PluginExecution"
Namespace:
Content:
complex, 5 elements
Defined:
globally in maven-4.0.0.xsd; see XML source
Includes:
definitions of 5 elements
Used:
Component Diagram
XML Representation Summary
<...>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
version:
4.0.0+
description:
The <execution> element contains informations required for the execution of a plugin.
XML Source (w/o annotations (6); see within schema source)
<xs:complexType name="PluginExecution">
<xs:all>
<xs:element default="default" minOccurs="0" name="id" type="xs:string"/>
<xs:element minOccurs="0" name="phase" type="xs:string"/>
<xs:element minOccurs="0" name="goals">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="goal" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="inherited" type="xs:string"/>
<xs:element minOccurs="0" name="configuration">
<xs:complexType>
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 5/5)
configuration
Type:
anonymous complexType, complex content
version:
0.0.0+
description:

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.

XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="configuration">
<xs:complexType>
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>

goals
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
The goals to execute with the given configuration.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="goals">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="goal" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

id
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
XML Representation Summary
<id>
   
Content: 
{ xs:string }
</id>
Simple Content
Default:
"default"
XML Source (w/o annotations (1); see within schema source)
<xs:element default="default" minOccurs="0" name="id" type="xs:string"/>

inherited
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
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.
XML Representation Summary
<inherited>
   
Content: 
{ xs:string }
</inherited>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="inherited" type="xs:string"/>

phase
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
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.
XML Representation Summary
<phase>
   
Content: 
{ xs:string }
</phase>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="phase" type="xs:string"/>

XML schema documentation generated with FlexDoc/XML 1.13 using FlexDoc/XML XSDDoc 2.9.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.