[
http://jira.codehaus.org/browse/MFINDBUGS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265393#action_265393
]
Geoff Bennett commented on MFINDBUGS-141:
-----------------------------------------
Hi Garvin, perhaps what I suggested is not the solution to this problem.
I have recently converted a multi-module maven1 configuration over to maven3
configuration. Checkstyle and PMD work straight away, but Findbugs produces an
error like the following:
[java] The following classes needed for analysis were missing:
[java] org.apache.commons.collections.set.UnmodifiableSet
[java] org.apache.commons.collections.list.UnmodifiableList
[java] javax.realtime.MemoryArea
[java] javax.realtime.ImmortalMemory
[java] Warnings generated: 133
[java] Missing classes: 4
I assumed that this was because these classes are not in the 'compile' scope,
but your response suggests that is not the problem.
>From the documentation, it is not clear what I should do about this problem.
>Eg: I already have a suppressions file that excludes 'org.*' and the error is
>complaining about 'org.apache'.
> Make dependency resolution scope requirements the same as the compile plugin
> ----------------------------------------------------------------------------
>
> Key: MFINDBUGS-141
> URL: http://jira.codehaus.org/browse/MFINDBUGS-141
> Project: Maven 2.x FindBugs Plugin
> Issue Type: Task
> Reporter: Geoff Bennett
> Assignee: Garvin LeClaire
> Priority: Blocker
>
> I have a multi-module J2EE configuration that has a lot of dependencies of
> scope 'provided'. Because they are not of scope 'compile' I cannot run
> findbugs.
> Shouldn't the findbugs plugin operate the same way that the compile plugin
> works with respect to dependencies? If this was the case, 'provided' would
> also be on the classpath.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email