You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wayne Fay <wa...@gmail.com> on 2007/01/26 01:16:38 UTC
Findbugs complaining about missing classes erroneously
I'm trying to add some new reports to our existing project/site and
right now I'm working on Findbugs...
When I run Findbugs, it outputs the following:
The following classes needed for analysis were missing:
javax.jms.Message
com.abc.vo.AbstractBusinessValue
com.abc.vo.IValueObject
javax.xml.xpath.XPathException
javax.jms.ConnectionFactory
javax.jms.Destination
javax.servlet.ServletRequest
javax.jms.JMSException
The com.abc.vo.* files are in the module I'm compiling. And the
javax.* files are all referenced in my pom.xml with proper
dependencies.
I've tried adjusting the scope from provided to compile, runtime, and
test for the javax.* classes but I always get the same error message
when Findbugs runs.
I'm wondering why those jars aren't automatically added to the
Findbugs "auxiliary classpath", and if they're supposed to be added,
why its not working for me.
My findbugs declaration is below:
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>1.0.0</version>
</plugin>
I'm sure there's lots of you using Findbugs, so perhaps you've run
into these problems and found some solutions? Thanks for any advice!
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Findbugs complaining about missing classes erroneously
Posted by Rémy Sanlaville <re...@gmail.com>.
We also have the same problem without finding any solution for the moment.
If someone has a solution, it would be great.
Rémy
2007/1/26, Wayne Fay <wa...@gmail.com>:
>
> I'm trying to add some new reports to our existing project/site and
> right now I'm working on Findbugs...
>
> When I run Findbugs, it outputs the following:
> The following classes needed for analysis were missing:
> javax.jms.Message
> com.abc.vo.AbstractBusinessValue
> com.abc.vo.IValueObject
> javax.xml.xpath.XPathException
> javax.jms.ConnectionFactory
> javax.jms.Destination
> javax.servlet.ServletRequest
> javax.jms.JMSException
>
> The com.abc.vo.* files are in the module I'm compiling. And the
> javax.* files are all referenced in my pom.xml with proper
> dependencies.
>
> I've tried adjusting the scope from provided to compile, runtime, and
> test for the javax.* classes but I always get the same error message
> when Findbugs runs.
>
> I'm wondering why those jars aren't automatically added to the
> Findbugs "auxiliary classpath", and if they're supposed to be added,
> why its not working for me.
>
> My findbugs declaration is below:
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>findbugs-maven-plugin</artifactId>
> <version>1.0.0</version>
> </plugin>
>
> I'm sure there's lots of you using Findbugs, so perhaps you've run
> into these problems and found some solutions? Thanks for any advice!
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>