diff --git a/dashboard/plugin.properties b/dashboard/plugin.properties
index b7ab248d..4bd51e77 100644
--- a/dashboard/plugin.properties
+++ b/dashboard/plugin.properties
@@ -78,6 +78,13 @@ maven.dashboard.rungoals = true
# Default aggregators
# -------------------
+# Properties for the Checkstyle files aggregator
+maven.dashboard.aggregator.csfiles.script = ${maven.dashboard.aggregators.dir}/csfiles.jelly
+maven.dashboard.aggregator.csfiles.artifact = ${maven.build.dir}/checkstyle-raw-report.xml
+maven.dashboard.aggregator.csfiles.label = CS Files
+maven.dashboard.aggregator.csfiles.goal = checkstyle
+maven.dashboard.aggregator.csfiles.description = Number of files checked with Checkstyle
+
# Properties for the Checkstyle error/warning aggregator (all errors/warnings)
maven.dashboard.aggregator.csall.script = ${maven.dashboard.aggregators.dir}/csall.jelly
maven.dashboard.aggregator.csall.artifact = ${maven.build.dir}/checkstyle-raw-report.xml
@@ -148,6 +155,20 @@ maven.dashboard.aggregator.junitpassrate.label = JUnit Pass Rate
maven.dashboard.aggregator.junitpassrate.goal = junit-report:report
maven.dashboard.aggregator.junitpassrate.description = Percentage of JUnit tests that have passed vs tests in error or failed
+# Properties for the PMD violations aggregator
+maven.dashboard.aggregator.pmdfiles.script = ${maven.dashboard.aggregators.dir}/pmdfiles.jelly
+maven.dashboard.aggregator.pmdfiles.artifact = ${maven.build.dir}/pmd-raw-report.xml
+maven.dashboard.aggregator.pmdfiles.label = PMD Files with Violations
+maven.dashboard.aggregator.pmdfiles.goal = pmd:report
+maven.dashboard.aggregator.pmdfiles.description = Number of files with PMD violations
+
+# Properties for the PMD violations aggregator
+maven.dashboard.aggregator.pmdviolations.script = ${maven.dashboard.aggregators.dir}/pmdviolations.jelly
+maven.dashboard.aggregator.pmdviolations.artifact = ${maven.build.dir}/pmd-raw-report.xml
+maven.dashboard.aggregator.pmdviolations.label = PMD Violations
+maven.dashboard.aggregator.pmdviolations.goal = pmd:report
+maven.dashboard.aggregator.pmdviolations.description = Number of PMD violations
+
# Properties for the Simian duplicate lines aggregator
maven.dashboard.aggregator.simiantdl.script = ${maven.dashboard.aggregators.dir}/simiantdl.jelly
maven.dashboard.aggregator.simiantdl.artifact = ${maven.build.dir}/generated-xdocs/simian-report.xml
diff --git a/dashboard/project.xml b/dashboard/project.xml
index a0722864..d4073b8f 100644
--- a/dashboard/project.xml
+++ b/dashboard/project.xml
@@ -23,7 +23,7 @@
3
maven-dashboard-plugin
Maven Dashboard Plugin
- 1.3
+ 1.4-SNAPSHOT
Generate a dashboard containing global statistics about other maven reports
Generate a statistic dashboard
http://maven.apache.org/reference/plugins/dashboard/
@@ -75,6 +75,10 @@
John D Taylor
jdt@roe.ac.uk
+
+ Paul Spencer
+ paulsp@apache.org
+
diff --git a/dashboard/src/plugin-resources/aggregators/csfiles.jelly b/dashboard/src/plugin-resources/aggregators/csfiles.jelly
new file mode 100644
index 00000000..5447fed6
--- /dev/null
+++ b/dashboard/src/plugin-resources/aggregators/csfiles.jelly
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dashboard/src/plugin-resources/aggregators/pmdfiles.jelly b/dashboard/src/plugin-resources/aggregators/pmdfiles.jelly
new file mode 100644
index 00000000..a3f66eed
--- /dev/null
+++ b/dashboard/src/plugin-resources/aggregators/pmdfiles.jelly
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dashboard/src/plugin-resources/aggregators/pmdviolations.jelly b/dashboard/src/plugin-resources/aggregators/pmdviolations.jelly
new file mode 100644
index 00000000..78033af7
--- /dev/null
+++ b/dashboard/src/plugin-resources/aggregators/pmdviolations.jelly
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dashboard/src/plugin-test/project.properties b/dashboard/src/plugin-test/project.properties
index 197cff68..45c733e7 100644
--- a/dashboard/src/plugin-test/project.properties
+++ b/dashboard/src/plugin-test/project.properties
@@ -36,7 +36,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,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors,simiantdl
+maven.dashboard.aggregators = csall,cserrors,cswarnings,csfiles,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors,simiantdl,pmdfiles,pmdviolations
# Make sure that an XML report is generated whenever Clover is run. Also
# inherited by the subprojects.
diff --git a/dashboard/xdocs/aggregators.xml b/dashboard/xdocs/aggregators.xml
index 74fa7ea4..67f14881 100644
--- a/dashboard/xdocs/aggregators.xml
+++ b/dashboard/xdocs/aggregators.xml
@@ -46,6 +46,13 @@
Computes total number of Checkstyle warnings and errors.
+
+ | csfiles |
+ Checkstyle |
+
+ Computes total number of files checked by Checkstyle.
+ |
+
| cserrors |
Checkstyle |
@@ -109,6 +116,20 @@
Percentage of JUnit tests that have passed.
+
+ | pmdfiles |
+ PMD |
+
+ Computes total number of files with PMD violations.
+ |
+
+
+ | pmdviolations |
+ PMD |
+
+ Computes total number of PMD violations.
+ |
+
| simiantdl |
Simian |
diff --git a/dashboard/xdocs/changes.xml b/dashboard/xdocs/changes.xml
index dbbd8862..573c0ba2 100644
--- a/dashboard/xdocs/changes.xml
+++ b/dashboard/xdocs/changes.xml
@@ -24,6 +24,12 @@
Vincent Massol
+
+
+ Added new Checkstyle File aggregator and PMD aggregators (count of
+ violations and count of files with violations).
+
+
Better error reporting when a wrong aggregator name is used.
Added Simian Total Duplicate Lines aggregator.
diff --git a/dashboard/xdocs/properties.xml b/dashboard/xdocs/properties.xml
index 344ee381..f68a6dd1 100644
--- a/dashboard/xdocs/properties.xml
+++ b/dashboard/xdocs/properties.xml
@@ -83,6 +83,13 @@ maven.dashboard.rungoals = true
# Default aggregators
# -------------------
+# Properties for the Checkstyle files aggregator
+maven.dashboard.aggregator.csfiles.script = ${maven.dashboard.aggregators.dir}/csfiles.jelly
+maven.dashboard.aggregator.csfiles.artifact = ${maven.build.dir}/checkstyle-raw-report.xml
+maven.dashboard.aggregator.csfiles.label = CS Files
+maven.dashboard.aggregator.csfiles.goal = checkstyle
+maven.dashboard.aggregator.csfiles.description = Number of files checked with Checkstyle
+
# Properties for the Checkstyle error/warning aggregator (all errors/warnings)
maven.dashboard.aggregator.csall.script = ${maven.dashboard.aggregators.dir}/csall.jelly
maven.dashboard.aggregator.csall.artifact = ${maven.build.dir}/checkstyle-raw-report.xml
@@ -153,6 +160,20 @@ maven.dashboard.aggregator.junitpassrate.label = JUnit Pass Rate
maven.dashboard.aggregator.junitpassrate.goal = junit-report:report
maven.dashboard.aggregator.junitpassrate.description = Percentage of JUnit tests that have passed vs tests in error or failed
+# Properties for the PMD violations aggregator
+maven.dashboard.aggregator.pmdfiles.script = ${maven.dashboard.aggregators.dir}/pmdfiles.jelly
+maven.dashboard.aggregator.pmdfiles.artifact = ${maven.build.dir}/pmd-raw-report.xml
+maven.dashboard.aggregator.pmdfiles.label = PMD Files with Violations
+maven.dashboard.aggregator.pmdfiles.goal = pmd:report
+maven.dashboard.aggregator.pmdfiles.description = Number of files with PMD violations
+
+# Properties for the PMD violations aggregator
+maven.dashboard.aggregator.pmdviolations.script = ${maven.dashboard.aggregators.dir}/pmdviolations.jelly
+maven.dashboard.aggregator.pmdviolations.artifact = ${maven.build.dir}/pmd-raw-report.xml
+maven.dashboard.aggregator.pmdviolations.label = PMD Violations
+maven.dashboard.aggregator.pmdviolations.goal = pmd:report
+maven.dashboard.aggregator.pmdviolations.description = Number of PMD violations
+
# Properties for the Simian duplicate lines aggregator
maven.dashboard.aggregator.simiantdl.script = ${maven.dashboard.aggregators.dir}/simiantdl.jelly
maven.dashboard.aggregator.simiantdl.artifact = ${maven.build.dir}/generated-xdocs/simian-report.xml
@@ -162,4 +183,4 @@ maven.dashboard.aggregator.simiantdl.description = Simian Total Duplicate Lines
]]>
-
\ No newline at end of file
+