Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327799 - Add FindBugs and DRY reports to build
Summary: Add FindBugs and DRY reports to build
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 0.10.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 0.10.0-M2   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 12:36 EDT by David Carver CLA
Modified: 2010-10-25 16:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carver CLA 2010-10-14 12:36:39 EDT
In response to Chris's interest in FindBugs and DRY FixIt challenge, I have created a fork of the jgit repo on GitHub, and created a branch called FindBugs.

The following commit:

http://github.com/kingargyle/jgit/commit/656d2815116710528a6ff04dc5b9fb6c0226d661

Adds to the pom.xml files, the necessary entries to have FindBugs and PMD Duplicate Code Dectors run during the build.  The output is put in the target/findBugs.xml and target/cpd.xml files for each of the modules.

You can then use the Hudson FindBugs and DRY plugins to display the information after a build completes.
Comment 2 David Carver CLA 2010-10-25 16:45:55 EDT
(In reply to comment #1)
> Done, thanks for the inspiration and contribution Dave.
> 
>      https://hudson.eclipse.org/hudson/job/jgit/findbugs
>      https://hudson.eclipse.org/hudson/job/jgit/dry
>      https://hudson.eclipse.org/hudson/job/egit/findbugs
>      https://hudson.eclipse.org/hudson/job/egit/dry

Excellent, lots of easy wins to fix in the High priority section for egit.