Thanks for the reply Colin but i think u misunderstand , when i say override, I dont want that file to be excluded from sonar scan, I want to include it.
I want that file to be included in the sonar scan even if its mentioned to be exclude in the pom.xml, I am asking if somehow i can nullify the sonar settings in pom.xml and include whatever is required from sonar-cli only.
Tried this Colin, not working, the files mentioned in pom.xml to be excluded are still excluded and does not show the files in code section of project sonar dashboard.