LifecycleMappings

Configuration of custom lifecycle mappings for the plugin, as generally stored in META-INF/maven/lifecycle.xml in a plugin's jar artifact.

<lifecycles xmlns="http://maven.apache.org/LIFECYCLE/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/LIFECYCLE/1.0.0 http://maven.apache.org/xsd/lifecycle-1.0.0.xsd">
  <lifecycle>
    <id/>
    <phases>
      <phase>
        <id/>
        <executions>
          <execution>
            <configuration/>
            <goals/>
          </execution>
        </executions>
        <configuration/>
      </phase>
    </phases>
  </lifecycle>
</lifecycles>

lifecycles

Root element of the lifecycle.xml file.

Element Type Description
lifecycle* List<Lifecycle> (Many) No description.

lifecycle

A custom lifecycle mapping definition.

Element Type Description
id String The ID of this lifecycle, for identification in the mojo descriptor.
phases/phase* List<Phase> (Many) The phase mappings for this lifecycle.

phase

A phase mapping definition.

Element Type Description
id String The ID of this phase, e.g., generate-sources.
executions/execution* List<Execution> (Many) The goals to execute within the phase.
configuration DOM Configuration to pass to all goals run in this phase.

execution

A set of goals to execute.

Element Type Description
configuration DOM Configuration to pass to the goals.
goals/goal* List<String> (Many) The goals to execute.