This will ensure the JaCoCo XML report is created after your test execution – it’s possible you need to do no further configuration after this as long as the reports land in the default location. Coverage reports are imported during the sonar:sonar maven goal – no additional tasks required.
Out of curiosity – does your PublishCodeCoverageResults task already work (are coverage details being published to Azure?)