bindtarget task

Description

This targets allow to change the mapping between target and phases.
Usually it's usefull when you want to attach some extra targets to the default lifecycle (phases).

Arguments

Parameter name Description Mandatory
target the target that we're going to attach / detach true
tophase specify the phase that will be used by the mapping. If null / empty, the target will just be unbound.
conf specify one a many build configurations separated by a comma

Example

Bind test-jar:jar target to package phase
  <ea:bindtarget target="test-jar:jar" tophase="package"/>
Unbind mytarget target from current phase mapping
  <ea:bindtarget target="test-jar:jar" tophase="package"/>