diff --git a/dashboard/plugin.jelly b/dashboard/plugin.jelly index 75c44c6d..eb8ecd6c 100644 --- a/dashboard/plugin.jelly +++ b/dashboard/plugin.jelly @@ -168,6 +168,12 @@ + + + + Invalid aggregator name [${aggregatorName}] + + diff --git a/dashboard/plugin.properties b/dashboard/plugin.properties index 90c9fe67..b7ab248d 100644 --- a/dashboard/plugin.properties +++ b/dashboard/plugin.properties @@ -141,9 +141,16 @@ maven.dashboard.aggregator.juniterrors.label = JUnit Errors maven.dashboard.aggregator.juniterrors.goal = junit-report:report maven.dashboard.aggregator.juniterrors.description = Number of JUnit test errors -# Properties for the JUnit Pass Rate aggregator +# Properties for the JUnit Pass Rate aggregator maven.dashboard.aggregator.junitpassrate.script = ${maven.dashboard.aggregators.dir}/junitpassrate.jelly maven.dashboard.aggregator.junitpassrate.artifact = ${maven.build.dir}/TESTS-TestSuites.xml 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 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 +maven.dashboard.aggregator.simiantdl.label = Simian TDL +maven.dashboard.aggregator.simiantdl.goal = maven-simian-plugin:report +maven.dashboard.aggregator.simiantdl.description = Simian Total Duplicate Lines diff --git a/dashboard/src/plugin-resources/aggregators/simiantdl.jelly b/dashboard/src/plugin-resources/aggregators/simiantdl.jelly new file mode 100644 index 00000000..12eda87e --- /dev/null +++ b/dashboard/src/plugin-resources/aggregators/simiantdl.jelly @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dashboard/src/plugin-test/project.properties b/dashboard/src/plugin-test/project.properties index cd67fe8d..e94d7bea 100644 --- a/dashboard/src/plugin-test/project.properties +++ b/dashboard/src/plugin-test/project.properties @@ -18,10 +18,11 @@ # P R O J E C T P R O P E R T I E S # ------------------------------------------------------------------- maven.xdoc.date=left -## maven.xdoc.version=${pom.currentVersion} +maven.xdoc.version=${pom.currentVersion} maven.checkstyle.header.file = ${basedir}/LICENSE.txt offline=true +maven.simian.linecount = 5 # MUST specify these, even though they are the defaults, so we can run # inside reactor where they were already set. diff --git a/dashboard/src/plugin-test/subproject1/project.properties b/dashboard/src/plugin-test/subproject1/project.properties index 3ea21cdb..df62491e 100644 --- a/dashboard/src/plugin-test/subproject1/project.properties +++ b/dashboard/src/plugin-test/subproject1/project.properties @@ -21,6 +21,6 @@ maven.xdoc.date=left ## maven.xdoc.version=${pom.currentVersion} maven.checkstyle.header.file = ${basedir}/../LICENSE.txt -maven.dashboard.aggregators = csall,cserrors,cswarnings,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors +maven.dashboard.aggregators = csall,cserrors,cswarnings,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors,simiantdl maven.clover.report.xml = true diff --git a/dashboard/src/plugin-test/subproject1/project.xml b/dashboard/src/plugin-test/subproject1/project.xml index 9905f365..ca22f33f 100644 --- a/dashboard/src/plugin-test/subproject1/project.xml +++ b/dashboard/src/plugin-test/subproject1/project.xml @@ -1,4 +1,5 @@ +