« Return to Thread: why so many missing class errors?
-----Original Message-----
From: findbugs-discuss-bounces@...
[mailto:findbugs-discuss-bounces@...] On
Sent: Friday,
Subject: Re: [FB-Discuss] why so many missing class
errors?
> > Which version of Maven do you use?
> >
> >
> >
Maven 2.0.4
> >Do you have all of those artifacts (jars) as
dependencies in the pom?
> >
> >
> >
Yes I do have them all. But there are certain classes
of my application also missed for analysis. For example it also misses my
com.mycompany.app.App
com.mycompany.webapp.WebApp
com.mycompany.maven.Maven
com.mycompany.finbugs.FindBugs
Only some of them, not all. How could this be defined
in any project pom?
First I thought that the issue was in my local
repository as I have manually created the folder structure for certain third
party jars (that are not available in the Maven remote repo) and added the jars
and dependent poms in the way Maven wants (I have also defined the same
artifact id and group id in my project pom xml, so no compilation issues). Even
after restructuring it still misses them all.
> >And
> >list, as it is probably a config issue or
plugin problem.
And I have posted this issue in Maven plugin user
forum too, but I havn't got any such immediate and interactive replies. As I
find Maven-Findbugs-Plugin users like
So this could be some bug as Garvin suggests.
Thanks,
Radhika
From:
findbugs-discuss-bounces@...
[mailto:findbugs-discuss-bounces@...] On
Behalf Of
Sent: Monday,
To:
Cc:
findbugs-discuss@...
Subject: Re: [FB-Discuss] why so
many missing class errors?
The Maven 2 plugin
experiences this problem. I did a little investigation an found that an
underlying Maven function may have a bug.
I need to do a little research to see if a bug has been reported. I am
going to check a few other plugins which need to have the same functionality
and see if the have a similar issue.
--
Regards,
garvin.leclaire@...
On
Which version of Maven do you use?
Do you have all of those artifacts (jars) as dependencies in the pom?
And
list, as it is probably a config issue or plugin problem.
Quoting
> On
> VedavalliRadhika.KaniyalarVijayakumar@...>
wrote:
> >
> > I am coming across a similar kind of issue, when I use
Maven-findbugs
> > plugin.
> >
> >
> >
> > Console Output:
> >
> > The following classes needed for analysis were missing:
> > javax.servlet.http.HttpServlet
> >
> > javax.servlet.GenericServlet
> >
> > …………
> >
> > …………
> >
> >
> >
> > Is this also a bug???
> >
>
> It is hard to say. FindBugs is trying to find these classes,
but it is
> complaining
> that they are not available. Using FindBugs in command-line
mode, you would
> specify the jar file these classes are in (j2ee.jar?) as part of the
> -auxClasspath option. I'm not sure how this works with Maven,
however.
>
> Is this the right forum for me to discuss the issue??
> >
> If the problem is a bug in FindBugs, then yes. If it is a
problem with the
> maven
> plugin, no.
>
> -
>
_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
http://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss
| This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. |
« Return to Thread: why so many missing class errors?
| Free embeddable forum powered by Nabble | Forum Help |