You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dongsheng Song <do...@gmail.com> on 2006/06/24 13:15:15 UTC
findbugs-maven-plugin: How to fix unresolvable reference?
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org