Added tests for the findbugs aggregators

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116203 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol committed 2004-11-05 15:30:11 +00:00
1 parent 2254c22637
commit 2208970594
5 files changed
+20 -6

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-->
<project
<project default="testPlugin"
xmlns:util="jelly:util"
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
+5 -1
View File
@@ -20,6 +20,10 @@
maven.xdoc.date=left
maven.checkstyle.header.file = ${basedir}/../../../../checkstyle-license.txt
# Ensure that Maven will be able to download the findbugs plugin for the
# tests
maven.repo.remote = http://www.ibiblio.org/maven,http://maven-plugins.sourceforge.net/repository/
# Put line count at a low number so that we can get Simian-reported errors
maven.simian.linecount = 5
@@ -36,7 +40,7 @@ maven.dashboard.runreactor = false
# Define what dashboard aggregators will be run. This property is inherited
# by the subprojects and thus they don't need to define it again.
maven.dashboard.aggregators = csall,cserrors,cswarnings,csfiles,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors,simiantdl,pmdfiles,pmdviolations,jcoveragelipc,jcoverageloc
maven.dashboard.aggregators = csall,cserrors,cswarnings,csfiles,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors,simiantdl,pmdfiles,pmdviolations,fbfiles,fbviolations,jcoveragelipc,jcoverageloc
# Make sure that an XML report is generated whenever Clover is run. Also
# inherited by the subprojects.
+7
View File
@@ -45,6 +45,13 @@
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
</dependency>
<!-- We need to be sure the findbugs plugin is downloaded for the tests -->
<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-findbugs-plugin</artifactId>
<version>0.8.4</version>
<type>plugin</type>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/java</sourceDirectory>
@@ -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
@@ -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 <a href="mailto:vmassol@apache.org">Vincent Massol</a>
*
* @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();
}
}