Reputation: 1404
I want to exclude specific java source files from Sonar. I do not want to make changes in POM. Is there any maven command line parameter to use which would exclude the specific files?
Upvotes: 0
Views: 1485
Reputation: 22824
You don't need to adjust your pom to set exclusions, and in fact you shouldn't. Exclusions should be set from the UI: Administration > General Settings > Analysis Scope
Upvotes: 1