Stephan
Stephan

Reputation: 43053

How to customize PMD configuration file generated by Sonar from pom.xml?

I would like to activate protectedAllowed option from checkStyle in my pom.xml.

How can I do this ?

Upvotes: 1

Views: 4610

Answers (1)

The only way to configure the PMD file generated by Sonar is to modify the quality profile that you are using. To do so, you have to log in the Web admin console and go to the "Quality profiles" section (you may have to create a profile of your own if you're using the default one - this is easy, you just copy it)

See http://docs.codehaus.org/display/SONAR/Quality+profiles for more information.

Upvotes: 4

Related Questions