SONARJAVA-540 Remove usage of deprecated project.getConfiguration