Solved with below thread Language of file can not be decided error - SonarQube - Sonar Community (sonarsource.com)