Is it possible to tell sonar-scanner to exclude files it cannot parse?
I have some bad code - specifically some XML files that can not be parsed, that are embedded among the code, I want to tell sonar-scanner not to stop if it encounters on of these files.
Right now the behavior is:
ERROR: Unable to analyse file some.xml
ERROR: Caused by: Unable to highlight file some.xml
ERROR: Caused by: 30 is not a valid line offset for pointer. File some.xml has 22 character(s) at line 4
Re-run SonarQube Scanner using the -X switch to enable full debug logging.