How exclude files from analysis and include on the same folder?

A post was split to a new topic: Setting sonar scanner