LifecycleMappings

Configuration of custom lifecycle mappings for the plugin.

<lifecycles>
  <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, eg 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.