<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30569239</id><updated>2011-07-28T14:00:17.057-07:00</updated><title type='text'>Technology Notes</title><subtitle type='html'>This is a spot for my notes on Opensource projects I use and participate in.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdleclaire.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://gdleclaire.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>gleclaire</name><uri>http://www.blogger.com/profile/07716912324527962131</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30569239.post-115322073731862250</id><published>2006-07-18T04:05:00.000-07:00</published><updated>2006-07-18T04:13:22.816-07:00</updated><title type='text'>Findbug Filters with your Maven Findbugs plugin</title><content type='html'>Do you want to pick the &lt;a href="http://findbugs.sourceforge.net/"&gt;Findbugs&lt;/a&gt; bug categories you report?&lt;br /&gt;&lt;br /&gt; This is done within your project.properties file.  Below is a sample entry from your project.properties file:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;maven.findbugs.includeFilter = &lt;/i&gt;&lt;i&gt;/Apache/Maven1.0/support/findbugs/&lt;/i&gt;&lt;i&gt;includeFilter.xml&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;This parameter takes a filename of an XML file that contains a definition of the bug(s) to include in the report.&lt;br /&gt;&lt;br /&gt;A file could contain the following:&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&amp;lt;FindBugsFilter&amp;gt;&lt;br /&gt;    &amp;lt;Match classregex="jsp_servlet.*" &amp;gt;&lt;br /&gt;              &amp;lt;BugCode name="Nm,DLS" /&amp;gt;&lt;br /&gt;        &amp;lt;/Match&amp;gt;&lt;br /&gt;        &amp;lt;Match classregex=".*" &amp;gt;&lt;br /&gt;              &amp;lt;BugCode name="Nm" /&amp;gt;&lt;br /&gt;        &amp;lt;/Match&amp;gt;&lt;br /&gt;&amp;lt;/FindBugsFilter&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;The above tells Findbugs to include Nm and DLS category bugs for all jsp_servlet.* packages and Nm category bugs for the remainder of the code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;maven.findbugs.excludeFilter = /Apache/Maven1.0/support/findbugs/excludeFilter.xml&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;This parameter takes a filename of an XML file that contains a definition of the bug(s) to exclude in the report.&lt;br /&gt;The file format would be the sames as that for the includeFilter but would state what bugs not to report.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For more information see &lt;a href="http://findbugs.sourceforge.net/manual/filter.html"&gt;Chapter 8. Filter Files&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30569239-115322073731862250?l=gdleclaire.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gdleclaire.blogspot.com/feeds/115322073731862250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30569239&amp;postID=115322073731862250' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default/115322073731862250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default/115322073731862250'/><link rel='alternate' type='text/html' href='http://gdleclaire.blogspot.com/2006/07/findbug-filters-with-your-maven.html' title='Findbug Filters with your Maven Findbugs plugin'/><author><name>gleclaire</name><uri>http://www.blogger.com/profile/07716912324527962131</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30569239.post-115321984137680869</id><published>2006-07-18T03:50:00.000-07:00</published><updated>2006-07-18T03:54:06.260-07:00</updated><title type='text'>Findbug Visitors with your Maven Findbugs plugin</title><content type='html'>Do you want to pick the &lt;a href="http://findbugs.sourceforge.net/"&gt;Findbugs&lt;/a&gt; Detectors you run?&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;This is done within your project.properties file.&amp;nbsp; Below is a sample entry from your project.properties file:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;maven.findbugs.visitors = FindDeadLocalStores,UnreadFields &lt;br /&gt;&lt;/i&gt;&lt;br /&gt;The parameters are a comma delimited list of the detector(s) to be run.&amp;nbsp; Each parameter is the class name without the package name.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;maven.findbugs.omitVisitors = FindDeadLocalStores,UnreadFields&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;The parameters are a comma delimited list of the detector(s) not to be run.&amp;nbsp; Each parameter is the class name without the package name.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30569239-115321984137680869?l=gdleclaire.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gdleclaire.blogspot.com/feeds/115321984137680869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30569239&amp;postID=115321984137680869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default/115321984137680869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default/115321984137680869'/><link rel='alternate' type='text/html' href='http://gdleclaire.blogspot.com/2006/07/findbug-visitors-with-your-maven.html' title='Findbug Visitors with your Maven Findbugs plugin'/><author><name>gleclaire</name><uri>http://www.blogger.com/profile/07716912324527962131</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30569239.post-115210647803881039</id><published>2006-07-05T06:34:00.000-07:00</published><updated>2006-07-05T06:34:38.063-07:00</updated><title type='text'>Using Custom Findbug Detectors with your Maven Findbugs plugin</title><content type='html'>Do you wish you could use a new &lt;a href="http://findbugs.sourceforge.net/"&gt;Findbugs&lt;/a&gt; Detector you have developed with the &lt;a href="http://maven-plugins.sourceforge.net/maven-findbugs-plugin/index.html"&gt;Maven-findbugs&lt;/a&gt; plug-in?&lt;br /&gt;One example would be using &lt;a href="http://www.jroller.com/page/dbrosius"&gt;Dave Brosius's&lt;/a&gt; &lt;a href="http://fb-contrib.sourceforge.net/"&gt;fb-contrib&lt;/a&gt; Detector plug-in. &lt;br /&gt;&lt;br /&gt; This is done within your project.properties file.  Below is a sample entry from your project.properties file:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;maven.findbugs.plugins = /libs/fb-contrib/fb-contrib-2.2.1.jar&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;This parameter takes a comma delimited list to the jar file(s) containing the FindBug Detector(s).&lt;br /&gt;&lt;br /&gt;For more information on writing your own FindBugs Detector check out &lt;a href="http://www-128.ibm.com/developerworks/library/j-findbug2/"&gt;FindBugs, Part 2: Writing custom detectors&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30569239-115210647803881039?l=gdleclaire.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gdleclaire.blogspot.com/feeds/115210647803881039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30569239&amp;postID=115210647803881039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default/115210647803881039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default/115210647803881039'/><link rel='alternate' type='text/html' href='http://gdleclaire.blogspot.com/2006/07/using-custom-findbug-detectors-with.html' title='Using Custom Findbug Detectors with your Maven Findbugs plugin'/><author><name>gleclaire</name><uri>http://www.blogger.com/profile/07716912324527962131</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30569239.post-115195056159742420</id><published>2006-07-03T10:53:00.000-07:00</published><updated>2006-07-05T06:46:33.713-07:00</updated><title type='text'>Update your Findbugs Version in Maven Findbugs plugin</title><content type='html'>If you wish to use a more recent version of &lt;a href="http://findbugs.sourceforge.net/"&gt;Findbugs&lt;/a&gt; with your &lt;a href="http://maven-plugins.sourceforge.net/maven-findbugs-plugin/index.html"&gt;Maven-findbugs&lt;/a&gt; plugin with &lt;a href="http://maven.apache.org/maven-1.x/"&gt;Maven 1&lt;/a&gt;  you can use the jar override  functionality of Maven to provide the update.  This is done within your project.properties file.  Below is a sample:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;maven.jar.override=on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;maven.findbugs.version=1.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;maven.jar.findbugs-ant=${maven.findbugs.version}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;maven.jar.coreplugin=${maven.findbugs.version}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;maven.jar.findbugs=${maven.findbugs.version}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The first line lets Maven know you would like to override some of the jar locations and/or version.  You can read more on this at &lt;a href="http://maven.apache.org/maven-1.x/using/managing-dependencies.html"&gt;http://maven.apache.org/maven-1.x/using/managing-dependencies.html&lt;/a&gt;.&lt;br /&gt;The second line is merely a variable to make it easier to update your version in one spot in your property file.  The last three lines are the jars you wish to override.&lt;br /&gt;The version you pick needs to be available in a repository.  The easiest way to browse a Maven repository is with &lt;a href="http://mevenide.codehaus.org/"&gt;Mevenide's&lt;/a&gt;  repository browser.  It supports both &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt; and &lt;a href="http://www.netbeans.org/"&gt;NetBeans&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30569239-115195056159742420?l=gdleclaire.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gdleclaire.blogspot.com/feeds/115195056159742420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30569239&amp;postID=115195056159742420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default/115195056159742420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30569239/posts/default/115195056159742420'/><link rel='alternate' type='text/html' href='http://gdleclaire.blogspot.com/2006/07/update-your-findbugs-version-in-maven.html' title='Update your Findbugs Version in Maven Findbugs plugin'/><author><name>gleclaire</name><uri>http://www.blogger.com/profile/07716912324527962131</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
