BI-189 - Do not create the "build-info.json" file in case "publish build-info" is not configured for Maven builds