When I use findbugs-maven-plugin in maven 2.0.4, findbugs report following 
errors:

VR: Unresolvable reference to javax.servlet.ServletContext by xxx

Herer is my pom.xml snippet:

  <build>
    <extensions>
      <extension>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>2.4</version>
      </extension>
    </extensions>
...
  </build>
...
  <reporting>
    <plugin>
...
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>findbugs-maven-plugin</artifactId>
      <version>1.0-SNAPSHOT</version>
      <configuration>
        <outputDirectory>target/site</outputDirectory>
        <threshold>Low</threshold>
      </configuration>
    </plugin>
...

Thanks for som help




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to