I am scanning my project but i want to disable some of the other custom plugins that are already present in the SonarQube during Analysis of my project. For example, In my project i have some XML Files but i dont want the XML Analyzer to run and analyze the XML or XSDs in that project.
Thanks Ann but i have a more specific requirement, where i want to still analyze those files using my plugin but dont want other plugin analyzers to work on those files.
I would totally understand if it was just a few set of Rules but i want to disable the whole XML Plugin itself so that it doesnt analyze for example. Need help with that.
If you don’t want XML rules to run, and creating an empty, default XML profile doesn’t suit you, then your next best option, as mentioned in the docs I linked to in my first response is to edit the XML file suffixes to something like “foo”:
File Suffixes
For most languages, you can restrict the scope of analysis to files matching a set of extensions. Go to Project Settings > General Settings > [Language] to set the File suffixes property.