title: Maven FindBugs plugin
body: <p>You have usage: <a href="http://mojohaus.org/findbugs-maven-plugin/usage.html" rel="nofollow noreferrer">findbugs-maven-plugin</a></p>
  
  <pre><code>&lt;project&gt;
    [...]
    &lt;reporting&gt;
      [...]
      &lt;plugin&gt;
        &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
        &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
        &lt;version&gt;1.2.1&lt;/version&gt;
        &lt;configuration&gt;
          &lt;xmlOutput&gt;true|false&lt;/xmlOutput&gt;
          &lt;xmlOutputDirectory&gt;directory location of findbugs xdoc xml report&lt;/xmlOutputDirectory&gt;
          &lt;threshold&gt;High|Normal|Low|Exp|Ignore&lt;/threshold&gt;
          &lt;effort&gt;Min|Default|Max&lt;/effort&gt;
          &lt;excludeFilterFile&gt;findbugs-exclude.xml&lt;/excludeFilterFile&gt;
          &lt;includeFilterFile&gt;findbugs-include.xml&lt;/includeFilterFile&gt;
          &lt;visitors&gt;FindDeadLocalStores,UnreadFields&lt;/visitors&gt;
          &lt;omitVisitors&gt;FindDeadLocalStores,UnreadFields&lt;/omitVisitors&gt;
          &lt;onlyAnalyze&gt;org.codehaus.mojo.findbugs.*&lt;/onlyAnalyze&gt;
          &lt;pluginList&gt;/libs/fb-contrib/fb-contrib-2.8.0.jar&lt;/pluginList&gt;
          &lt;debug&gt;true|false&lt;/debug&gt;
          &lt;relaxed&gt;true|false&lt;/relaxed&gt;
          &lt;findbugsXmlOutput&gt;true|false&lt;/findbugsXmlOutput&gt;
          &lt;findbugsXmlOutputDirectory&gt;directory location of findbugs legact xml format report&lt;/findbugsXmlOutputDirectory&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
      [...]
    &lt;/reporting&gt;
    [...]
  &lt;/project&gt;
  </code></pre>
  
  <p>But once:</p>
  
  <pre><code>mvn site
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>[INFO] ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  [INFO] ------------------------------------------------------------------------
  [INFO] Failed to resolve artifact.
  
  GroupId: org.codehaus.mojo
  ArtifactId: findbugs-maven-plugin
  Version: 1.2.1
  
  Reason: Unable to download the artifact from any repository
  
    org.codehaus.mojo:findbugs-maven-plugin:pom:1.2.1
  
  from the specified remote repositories:
    central (http://repo1.maven.org/maven2)
  </code></pre>
  
  <p>Do you know why? What should I do?</p>