logo       

Re: running findbugs with Maven Antlibs: msg#00025

java.findbugs.general

Subject: Re: running findbugs with Maven Antlibs

Garvin LeClaire wrote:
Yes there is a POM issue in the repository. If you add the following you should be fine.

<dependency>
<groupId>net.sourceforge.findbugs</groupId>
<artifactId>coreplugin</artifactId>
<version>1.0.0</version>
</dependency>
The POM for findbugs is incorrect. The coreplugin defines some of the dependencies that are missing from the findbugs POM.

Even better, I just replaced the entire mess by this:

<dependencies pathId="findbugs.classpath"
useScope="runtime">
<dependency groupId="net.sourceforge.findbugs"
artifactId="findbugs"
version="1.0.0"/>
</dependencies>

Thanks, Maven works so much better when your POM has the right dependencies. :-)

Once again this is all working in the FingBugs Maven plugin at http://mojo.codehaus.org

I had already wondered how it could have worked with that dependency mess. I'm using the Maven Antlib, i.e. the build scripts are all Ant and it uses the Maven repository to download external libraries on demand.

Fabian



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise