Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327799

Summary: Add FindBugs and DRY reports to build
Product: [Technology] JGit Reporter: David Carver <d_a_carver>
Component: JGitAssignee: Chris Aniszczyk <caniszczyk>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: caniszczyk
Version: 0.10.0   
Target Milestone: 0.10.0-M2   
Hardware: PC   
OS: Linux   
Whiteboard:

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.