Hello Patrick,

Thanks for the hints! I have seen your posts on other mailinglists about those 
problems. And it was the first time I saw that another person was developing a 
findbugs plugin fro m2 - of course your Email too.

The Plug-In is running on my machine, the only thing is, that I reference the 
coreplugin.jar hardwired to a location on my filesystem. I have to lookup the 
coreplugin.jar on the classpath and get the file to it from there. Then I can 
FindBugs tell where to find the detectors.

There are no blockers you mentioned. Probably I will have some time this 
evening or tomorrow to work on this issue.



Regards,

Cyrill

HI,

Have a look at the code i worte at http://jira.codehaus.org/browse/MOJO-177.
All you need to do is set the property "findbugs.jaws" to true.
Also to get around the requirement to reference the coreplugin.jar by its file system path,
I added it as a dependency to the findbugs plugin and it I add the dependencies
to the classpath when calling findbugs.

Apart from this there is an issue that will hinder a findbugs plugin being released,
Findbugs requires the bcel jar that is built from the latest cvs code and is more recent than the
last official release (5.1)
Last time i checked there was no date choosen for the next bcel release.


Patrick




 



"Cyrill Ruettimann (JIRA)" <[EMAIL PROTECTED]>

01/10/2006 08:15 AM

Please respond to
[email protected]

To
[email protected]
cc
Subject
[mojo-dev] [jira] Commented: (MOJO-224) maven-findbugs-plugin for maven 2





    [ http://jira.codehaus.org/browse/MOJO-224?page=comments#action_55375 ]

Cyrill Ruettimann commented on MOJO-224:
----------------------------------------

The Plug-In does not work on any computer other than the developers workstation because of a file system reference of the coreplugin.jar. I am working on this issue right now. I need to find the path to the coreplugin-0.9.4.jar from the classpath/local repository and load it into FindBugs. I have configured FindBugs to run in jaws mode so it does not need findbugs.home anymore.

> maven-findbugs-plugin for maven 2
> ---------------------------------
>
>          Key: MOJO-224
>          URL: http://jira.codehaus.org/browse/MOJO-224
>      Project: Mojo
>         Type: New Feature

>  Environment: MacOS X, Eclipse 3.1.1, Checkstyle-Plugin, PMD-Plugin, FindBugs-Plugin
>     Reporter: Cyrill Ruettimann
>  Attachments: maven-findbugs-plugin.tar.gz, maven-findbugs-plugin.tar.gz
>
>
> The source code of the maven-findbugs-plugin as a tar.gz archive.
> I announced the contribution at the dev mailinglist.
> I have one outstanding "blocker" issue. The findbugs report is not included in the project reports menu structure. I have no glue how to achive this. I looked at various plug-ins and did not find the code which does the menu entry.

--
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


Reply via email to