title: Modifying Rules in Sonar
body: <p>I am using Sonar to list the violations in code. While, a lot of the violations are legitimate, some of the violations that it shows are a bit too far-fetched.</p>
  
  <p>For example, I want Sonar to exclude violations in logger statements and also in annotated JAXB classes. Since, these classes are widely spread across multiple packages in the project, I am not able to exclude any specific package.</p>
  
  <p>Is there a suitable way to resolve this problem.</p>
  
  <p>Thanks</p>