You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Doug Knesek <do...@yahoo.com> on 2004/12/08 18:11:00 UTC

Finbugs has stopped working

I had FindBugs working at one point.  It has not
worked since upgrading my Java plug-in to version 1.5.
 I am running maven using Java 1.4.2, but I am forking
Java 1.3.1 to do my build.

The error I get is:

BUILD FAILED
File......
T:\Edc\Consolidation\.maven\cache\maven-findbugs-plugin-0.8.4\plugin.jelly
Element... ant:taskdef
Line...... 79
Column.... 87
taskdef class edu.umd.cs.findbugs.anttask.FindBugsTask
cannot be found
Total time: 1 minutes 35 seconds
Finished at: Wed Dec 08 10:25:47 CST 2004

So I reinstalled the FindBugs plugin using:

maven -DartifactId=maven-findbugs-plugin
-DgroupId=maven-plugins -Dversion=0.8.4
plugin:download

Although the plugin appeared in my plugins directory,
none of it's dependencies showed up anywhere.  It's
dependencies (as specified in its project.xml) are:

findbugs-0.8.4.jar
findbugs-ant-0.8.4.jar
findbugs-coreplugin-0.8.4.jar
findbugs-bcel-0.8.4.jar
dom4j-1.4.jar

So my first question is, when downloading plugins when
does the plugins dependencies get downloaded and
installed?

So I manually copied the FindBugs dependency elements
into my project.xml to "force" them to be downloaded. 
They then appeared in my local repository.

But I still get the same error.  Argh!  It seems like
the FindBugs jars are not being found.

Please help.

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org