finally got it working with jacoco and sonar-project.properties file.