title: I want to skip warnings in PMD
body: <p>I get the following when I run the <code>PMD Report</code> in my <code>target/pmd.xml</code> using teamcity </p>
  
  <p>Now I wanted to skip the following warnings  <code>"Unused Code"</code> . So how can I do that ?</p>
  
  <p>Presently the build is failing , when I googled I got one option where I can use the </p>
  
  <p>Annotation <code>@Suppress warnings</code>   (But I wanted to skip these warnings from my maven goals </p>
  
  <p>itself , is there any goal like  skip warnings?   or something like that)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;pmd version="5.0.2" timestamp="2014-04-07T07:41:55.431"&gt;
  &lt;file name="/home/herc/teamcity/TeamCity/buildAgent/work/c2f0847f19a6b00d/src/main/java/com/ga/gameon/db/IapDAO.java"&gt;
  &lt;violation beginline="16" endline="16" begincolumn="16" endcolumn="61" rule="UnusedModifier" ruleset="Unused Code" package="com.ga.gameon.db" class="IapDAO" externalInfoUrl="http://pmd.sourceforge.net/pmd-5.0$
  Avoid modifiers which are implied by the context
  &lt;/violation&gt;
  &lt;violation beginline="17" endline="17" begincolumn="16" endcolumn="56" rule="UnusedModifier" ruleset="Unused Code" package="com.ga.gameon.db" class="IapDAO" externalInfoUrl="http://pmd.sourceforge.net/pmd-5.0$
  Avoid modifiers which are implied by the context
  &lt;/violation&gt;
  &lt;/file&gt;
  &lt;file name="/home/herc/teamcity/TeamCity/buildAgent/work/c2f0847f19a6b00d/src/main/java/com/ga/gameon/service/IapService.java"&gt;
  &lt;violation beginline="18" endline="18" begincolumn="16" endcolumn="83" rule="UnusedModifier" ruleset="Unused Code" package="com.ga.gameon.service" class="IapService" externalInfoUrl="http://pmd.sourceforge.ne$
  Avoid modifiers which are implied by the context
  &lt;/violation&gt;
  &lt;violation beginline="20" endline="20" begincolumn="16" endcolumn="76" rule="UnusedModifier" ruleset="Unused Code" package="com.ga.gameon.service" class="IapService" externalInfoUrl="http://pmd.sourceforge.ne$
  Avoid modifiers which are implied by the context
  &lt;/violation&gt;
  &lt;/file&gt;
  &lt;file name="/home/herc/teamcity/TeamCity/buildAgent/work/c2f0847f19a6b00d/src/main/java/com/ga/gameon/service/IapServiceImpl.java"&gt;
  
  &lt;/file&gt;
  &lt;/pmd&gt;
  </code></pre>