From: Eric P. <de...@us...> - 2004-09-07 09:17:29
|
dep4b 04/09/07 02:17:19 Modified: findbugs plugin.jelly project.xml plugin.properties findbugs/xdocs properties.xml changes.xml Log: Fix jelly error and add new memory handling properties. Thanks guys! Revision Changes Path 1.8 +7 -1 maven-plugins/findbugs/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/plugin.jelly,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- plugin.jelly 12 Aug 2004 18:28:29 -0000 1.7 +++ plugin.jelly 7 Sep 2004 09:17:18 -0000 1.8 @@ -87,11 +87,17 @@ <findbugs classpathref="findbugs.classpath" pluginlistref="findbugs.pluginlist" reportLevel="${maven.findbugs.detail}" + conserveSpace="${maven.findbugs.conserveSpace}" + debug="${maven.findbugs.debug}" output="xdocs" outputFile="${maven.build.dir}/findbugs-raw-report.xml"> + + <j:if test="${context.getVariable('maven.findbugs.jvmargs') != null}"> + <ant:setProperty name="jvmargs" value="${maven.findbugs.jvmargs}" /> + </j:if> <j:forEach var="lib" items="${pom.artifacts}"> - <j:if test="${lib.type =='jar'}"> + <j:if test="${lib.dependency.type =='jar'}"> <auxClasspath path="${lib.path}"/> </j:if> </j:forEach> 1.16 +6 -1 maven-plugins/findbugs/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/project.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- project.xml 12 Aug 2004 19:00:23 -0000 1.15 +++ project.xml 7 Sep 2004 09:17:18 -0000 1.16 @@ -50,8 +50,13 @@ <contributor> <name>Garvin LeClaire</name> <id>gleclaire</id> - <email>gar...@in...</email> + <email>gle...@us...</email> </contributor> + <contributor> + <name>Markus Torpvret</name> + <id>mtorp</id> + <email>mt...@us...</email> + </contributor> </contributors> 1.3 +3 -1 maven-plugins/findbugs/plugin.properties Index: plugin.properties =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/plugin.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- plugin.properties 29 Jul 2004 16:31:22 -0000 1.2 +++ plugin.properties 7 Sep 2004 09:17:18 -0000 1.3 @@ -7,4 +7,6 @@ # enable/disable findbugs maven.findbugs.enable = true -maven.findbugs.detail=medium +maven.findbugs.detail = medium +maven.findbugs.conserveSpace = false +maven.findbugs.debug = false 1.4 +27 -0 maven-plugins/findbugs/xdocs/properties.xml Index: properties.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/xdocs/properties.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- properties.xml 12 Aug 2004 19:00:06 -0000 1.3 +++ properties.xml 7 Sep 2004 09:17:19 -0000 1.4 @@ -31,6 +31,33 @@ </p> </td> </tr> + <tr> + <td>maven.findbugs.conserveSpace</td> + <td>Yes</td> + <td> + <p> + If set to true, FindBugs will disable analyses that improve precision but consume extra memory. Default is false. + </p> + </td> + </tr> + <tr> + <td>maven.findbugs.debug</td> + <td>Yes</td> + <td> + <p> + If set to true, FindBugs prints diagnostic information about which classes are being analyzed, and which bug pattern detectors are being run. Default is false. + </p> + </td> + </tr> + <tr> + <td>maven.findbugs.jvmargs</td> + <td>Yes</td> + <td> + <p> + It specifies any arguments that should be passed to the Java virtual machine used to run FindBugs. You may need to use this attribute to specify flags to increase the amount of memory the JVM may use if you are analyzing a very large program. + </p> + </td> + </tr> </table> </section> 1.13 +12 -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.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- changes.xml 12 Aug 2004 19:00:23 -0000 1.12 +++ changes.xml 7 Sep 2004 09:17:19 -0000 1.13 @@ -7,6 +7,18 @@ <body> <release version="0.8.5" date="in cvs"> + <action dev="mtorp" type="fix"> + Fix jelly script error in checking if a pom.artifacts was a jar file or not. + </action> + <action dev="gleclaire" type="add"> + Added maven.findbugs.conserveSpace property. + </action> + <action dev="gleclaire" type="add"> + Added maven.findbugs.debug property. + </action> + <action dev="gleclaire" type="add"> + Added maven.findbugs.jvmargs property. + </action> </release> <release version="0.8.4" date="12-AUGUST-2004"> <action dev="epugh" type="update"> |