humblebee
humblebee

Reputation: 1404

Exclude files in sonar from commandline

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

Answers (1)

G. Ann - SonarSource Team
G. Ann - SonarSource Team

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

Related Questions