...with the change below, findbugs can be run in oak-jcr with
mvn findbugs:findbugs ...leaving an XML file in ./target. There's also mvn findbugs:gui for those who prefer point-and-click. Should we add this globally? Best regards, Julian On 2012-05-23 14:06, [email protected] wrote:
Author: reschke Date: Wed May 23 12:06:09 2012 New Revision: 1341843 URL: http://svn.apache.org/viewvc?rev=1341843&view=rev Log: OAK-37: add findbugs report (WIP) Modified: jackrabbit/oak/trunk/oak-jcr/pom.xml Modified: jackrabbit/oak/trunk/oak-jcr/pom.xml URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/pom.xml?rev=1341843&r1=1341842&r2=1341843&view=diff ============================================================================== --- jackrabbit/oak/trunk/oak-jcr/pom.xml (original) +++ jackrabbit/oak/trunk/oak-jcr/pom.xml Wed May 23 12:06:09 2012 @@ -64,6 +64,16 @@ </pluginManagement> </build> +<reporting> +<plugins> +<plugin> +<groupId>org.codehaus.mojo</groupId> +<artifactId>findbugs-maven-plugin</artifactId> +<version>2.4.1-SNAPSHOT</version> +</plugin> +</plugins> +</reporting> + <dependencies> <!-- Optional OSGi dependencies, used only when running within OSGi --> <dependency>
