HAP-499 - Compatibility with "Flexible publish" plugin, only supported with Maven builds