diff --git a/dashboard/src/plugin-test/maven.xml b/dashboard/src/plugin-test/maven.xml index 71e8c1e0..f30e6026 100644 --- a/dashboard/src/plugin-test/maven.xml +++ b/dashboard/src/plugin-test/maven.xml @@ -15,7 +15,7 @@ * limitations under the License. */ --> -20030211.142705 http://jakarta.apache.org/commons/jelly/libs/xml/ + + + maven-plugins + maven-findbugs-plugin + 0.8.4 + plugin + src/java diff --git a/dashboard/src/plugin-test/subproject2/project.properties b/dashboard/src/plugin-test/subproject2/project.properties index 31abdde0..45e06f3e 100644 --- a/dashboard/src/plugin-test/subproject2/project.properties +++ b/dashboard/src/plugin-test/subproject2/project.properties @@ -19,6 +19,6 @@ # ------------------------------------------------------------------- # Force running the artifact generation roles as we have voluntarily not -# define any report (and thus the artifacts won't be generated by the +# defined any report (and thus the artifacts won't be generated by the # site generation). maven.dashboard.rungoals = true diff --git a/dashboard/src/plugin-test/subproject2/src/java/org/apache/maven/dashboard/test/subproject2/Sample.java b/dashboard/src/plugin-test/subproject2/src/java/org/apache/maven/dashboard/test/subproject2/Sample.java index 7e93ae56..f8e82eb2 100644 --- a/dashboard/src/plugin-test/subproject2/src/java/org/apache/maven/dashboard/test/subproject2/Sample.java +++ b/dashboard/src/plugin-test/subproject2/src/java/org/apache/maven/dashboard/test/subproject2/Sample.java @@ -3,7 +3,7 @@ package org.apache.maven.dashboard.test.subproject2; /* ==================================================================== * The Apache Software License, Version 1.1 * - * Copyright (c) 2001 The Apache Software Foundation. All rights + * Copyright (c) 2001-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -61,11 +61,11 @@ package org.apache.maven.dashboard.test.subproject2; * * @author Vincent Massol * - * @version $Id: Sample.java,v 1.1 2003/11/17 21:37:00 vmassol Exp $ + * @version $Id: Sample.java,v 1.2 2004/11/05 15:30:11 vmassol Exp $ */ public class Sample { - public void someMethod() + public void someMethod() throws Throwable { // Voluntarily using different brace rules to generate checkstyle // errors... @@ -76,5 +76,8 @@ public class Sample { } + + // Voluntarily to generate a Findbug error... + this.finalize(); } } \ No newline at end of file