Fix compilation on Maven 3.1.x

Change-Id: If80fb8063d726b3a3e29a9494b4e20f9e8530a2e
Reviewed-on: https://pirx.atteo.com/gerrit/522
Tested-by: Mr. Jenkins
Reviewed-by: Sławek Piotrowski <sentinel@atteo.com>