See MPJAR-36 for details as they are also applicable to the War plugin.
Applied fix from the Jar plugin to make things consistent.
Applied fix from the Jar plugin to make things consistent.