The war Haka was originally used as a type of war cry to intimidate their opponents but is now used in a variety of ceremonial and sporting events. These differ from group to group. This is specifically the Haka used by the Infantry Regiment.
Here is the haka used by soccer team from New Zealand:
You can see the differences if you watch closely. Sometimes both teams can have do the haka in a match: