FYI: I have addded the depdency
org.sonarsource.java java-frontend ${sonarjava.version}
to fix the MethodMatcherCollection, class not found issue.