From: Eric P. <de...@us...> - 2005-05-12 00:11:03
|
dep4b 05/05/11 17:10:52 Modified: findbugs plugin.properties plugin.jelly findbugs/xdocs changes.xml Log: 1194218 Work with larger projects better, use workHard=true and find low medium and high bugs Revision Changes Path 1.4 +9 -2 maven-plugins/findbugs/plugin.properties Index: plugin.properties =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/plugin.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- plugin.properties 7 Sep 2004 09:17:18 -0000 1.3 +++ plugin.properties 12 May 2005 00:10:52 -0000 1.4 @@ -5,8 +5,15 @@ # ------------------------------------------------------------------- # enable/disable findbugs - maven.findbugs.enable = true -maven.findbugs.detail = medium + +# lowest priority level of potential bugs to report +# high = only high priority +# medium = medium and high +# low = low, medium and high bugs. +maven.findbugs.detail = low maven.findbugs.conserveSpace = false maven.findbugs.debug = false +maven.findbugs.workHard = true +maven.findbugs.jvmargs = -Xmx256m + 1.11 +7 -1 maven-plugins/findbugs/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/plugin.jelly,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- plugin.jelly 6 May 2005 22:05:01 -0000 1.10 +++ plugin.jelly 12 May 2005 00:10:52 -0000 1.11 @@ -92,6 +92,7 @@ reportLevel="${maven.findbugs.detail}" conserveSpace="${maven.findbugs.conserveSpace}" debug="${maven.findbugs.debug}" + workHard="${maven.findbugs.workHard}" output="xdocs" outputFile="${maven.build.dir}/findbugs-raw-report.xml"> @@ -106,7 +107,12 @@ <j:if test="${context.getVariable('maven.findbugs.includeFilter') != null}"> <ant:setProperty name="includeFilter" value="${maven.findbugs.includeFilter}" /> </j:if> - + <j:forEach var="artifact" items="${pom.artifacts}"> + <j:set var="dep" value="${artifact.dependency}"/> + <j:if test="${dep.type =='jar'}"> + <auxClasspath path="${artifact.path}"/> + </j:if> + </j:forEach> <j:forEach var="lib" items="${pom.artifacts}"> <j:if test="${lib.dependency.type =='jar'}"> <auxClasspath path="${lib.path}"/> 1.17 +4 -0 maven-plugins/findbugs/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/xdocs/changes.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- changes.xml 6 May 2005 22:05:01 -0000 1.16 +++ changes.xml 12 May 2005 00:10:52 -0000 1.17 @@ -7,6 +7,10 @@ <body> <release version="0.8.8" date="in CVS"> + <action dev="dep4b" type="add" due-to="Jon Chrisiansen" issue="1194218"> + add workHard option, set to true by default. Set VM to use 256 mb of memory and find + low, medium, and high bugs instead of just medium and high by default. + </action> <action dev="gleclaire" type="add"> Added maven.findbugs.debug property. </action> |