Update the default checkstyle report location to make it compatible with Checkstyle plugin 3.0+ (MPCHECKSTYLE-40).

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@292689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2005-09-30 09:56:09 +00:00
parent 4e5c47573b
commit 8b855c5e38
3 changed files with 10 additions and 9 deletions

View File

@ -100,7 +100,7 @@ maven.dashboard.aggregator.csfiles.artifact = ${maven.build.dir}/checkstyle-raw-
maven.dashboard.aggregator.csfiles.label = CS Files maven.dashboard.aggregator.csfiles.label = CS Files
maven.dashboard.aggregator.csfiles.goal = checkstyle maven.dashboard.aggregator.csfiles.goal = checkstyle
maven.dashboard.aggregator.csfiles.description = Number of files checked with Checkstyle maven.dashboard.aggregator.csfiles.description = Number of files checked with Checkstyle
maven.dashboard.aggregator.csfiles.report = checkstyle-report.html maven.dashboard.aggregator.csfiles.report = checkstyle/index.html
# Properties for the Checkstyle error/warning aggregator (all errors/warnings) # 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.script = ${maven.dashboard.aggregators.dir}/csall.jelly
@ -108,7 +108,7 @@ maven.dashboard.aggregator.csall.artifact = ${maven.build.dir}/checkstyle-raw-re
maven.dashboard.aggregator.csall.label = CS err/warn maven.dashboard.aggregator.csall.label = CS err/warn
maven.dashboard.aggregator.csall.goal = checkstyle maven.dashboard.aggregator.csall.goal = checkstyle
maven.dashboard.aggregator.csall.description = Number of Checkstyle errors and warnings maven.dashboard.aggregator.csall.description = Number of Checkstyle errors and warnings
maven.dashboard.aggregator.csall.report = checkstyle-report.html maven.dashboard.aggregator.csall.report = checkstyle/index.html
# Properties for the Checkstyle error aggregator (only errors) # Properties for the Checkstyle error aggregator (only errors)
maven.dashboard.aggregator.cserrors.script = ${maven.dashboard.aggregators.dir}/cserrors.jelly maven.dashboard.aggregator.cserrors.script = ${maven.dashboard.aggregators.dir}/cserrors.jelly
@ -116,7 +116,7 @@ maven.dashboard.aggregator.cserrors.artifact = ${maven.build.dir}/checkstyle-raw
maven.dashboard.aggregator.cserrors.label = CS errors maven.dashboard.aggregator.cserrors.label = CS errors
maven.dashboard.aggregator.cserrors.goal = checkstyle maven.dashboard.aggregator.cserrors.goal = checkstyle
maven.dashboard.aggregator.cserrors.description = Number of Checkstyle errors maven.dashboard.aggregator.cserrors.description = Number of Checkstyle errors
maven.dashboard.aggregator.cserrors.report = checkstyle-report.html maven.dashboard.aggregator.cserrors.report = checkstyle/index.html
# Properties for the Checkstyle warning aggregator (only warnings) # Properties for the Checkstyle warning aggregator (only warnings)
maven.dashboard.aggregator.cswarnings.script = ${maven.dashboard.aggregators.dir}/cswarnings.jelly maven.dashboard.aggregator.cswarnings.script = ${maven.dashboard.aggregators.dir}/cswarnings.jelly
@ -124,7 +124,7 @@ maven.dashboard.aggregator.cswarnings.artifact = ${maven.build.dir}/checkstyle-r
maven.dashboard.aggregator.cswarnings.label = CS warnings maven.dashboard.aggregator.cswarnings.label = CS warnings
maven.dashboard.aggregator.cswarnings.goal = checkstyle maven.dashboard.aggregator.cswarnings.goal = checkstyle
maven.dashboard.aggregator.cswarnings.description = Number of Checkstyle warnings maven.dashboard.aggregator.cswarnings.description = Number of Checkstyle warnings
maven.dashboard.aggregator.cswarnings.report = checkstyle-report.html maven.dashboard.aggregator.cswarnings.report = checkstyle/index.html
# Properties for the Clover TPC aggregator (TPC = Total Percent Coverage) # Properties for the Clover TPC aggregator (TPC = Total Percent Coverage)
maven.dashboard.aggregator.clovertpc.script = ${maven.dashboard.aggregators.dir}/clovertpc.jelly maven.dashboard.aggregator.clovertpc.script = ${maven.dashboard.aggregators.dir}/clovertpc.jelly

View File

@ -108,7 +108,7 @@
<!-- Subproject1 has report: we check that the link to the report exist --> <!-- Subproject1 has report: we check that the link to the report exist -->
<ant:echo>Check that testIndividualReportsNotGeneratedByDashboard has a link to the checkstyle report</ant:echo> <ant:echo>Check that testIndividualReportsNotGeneratedByDashboard has a link to the checkstyle report</ant:echo>
<x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[2]/a/@href)"/> <x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[2]/a/@href)"/>
<assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle-report.html" value="${URL}"/> <assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle/index.html" value="${URL}"/>
<!-- testIndividualReportsGeneratedByDashboard has no HTML report generated (there are no <!-- testIndividualReportsGeneratedByDashboard has no HTML report generated (there are no
reports defined in subproject2's project.xml): we check that the link to the report does reports defined in subproject2's project.xml): we check that the link to the report does
not exist --> not exist -->
@ -121,19 +121,19 @@
<!-- csall --> <!-- csall -->
<ant:echo> Check csallreport</ant:echo> <ant:echo> Check csallreport</ant:echo>
<x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[2]/a/@href)"/> <x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[2]/a/@href)"/>
<assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle-report.html" value="${URL}"/> <assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle/index.html" value="${URL}"/>
<!-- cserrors --> <!-- cserrors -->
<ant:echo> Check cserrors report</ant:echo> <ant:echo> Check cserrors report</ant:echo>
<x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[3]/a/@href)"/> <x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[3]/a/@href)"/>
<assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle-report.html" value="${URL}"/> <assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle/index.html" value="${URL}"/>
<!-- cswarnings --> <!-- cswarnings -->
<ant:echo> Check cswarnings report</ant:echo> <ant:echo> Check cswarnings report</ant:echo>
<x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[4]/a/@href)"/> <x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[4]/a/@href)"/>
<assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle-report.html" value="${URL}"/> <assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle/index.html" value="${URL}"/>
<!-- csfiles --> <!-- csfiles -->
<ant:echo> Check csfiles report</ant:echo> <ant:echo> Check csfiles report</ant:echo>
<x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[5]/a/@href)"/> <x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[5]/a/@href)"/>
<assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle-report.html" value="${URL}"/> <assert:assertEquals expected="multiproject/testIndividualReportsNotGeneratedByDashboard/checkstyle/index.html" value="${URL}"/>
<!-- clovertpc --> <!-- clovertpc -->
<ant:echo> Check clovertpc report</ant:echo> <ant:echo> Check clovertpc report</ant:echo>
<x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[6]/table/tr/td/a/@href)"/> <x:set var="URL" select="string($doc/document/body/section/table/tr[3]/td[6]/table/tr/td/a/@href)"/>

View File

@ -25,6 +25,7 @@
</properties> </properties>
<body> <body>
<release version="1.9-SNAPSHOT" date="in svn"> <release version="1.9-SNAPSHOT" date="in svn">
<action dev="aheritier" type="update">Update the default checkstyle report location to make it compatible with Checkstyle plugin 3.0+ (MPCHECKSTYLE-40).</action>
<action dev="carlos" type="add" issue="MPDASHBOARD-31">Added Cobertura aggregator.</action> <action dev="carlos" type="add" issue="MPDASHBOARD-31">Added Cobertura aggregator.</action>
<action dev="vmassol" type="fix" issue="MPDASHBOARD-27"> <action dev="vmassol" type="fix" issue="MPDASHBOARD-27">
Properties <code>maven.dashboard.basedir</code>, Properties <code>maven.dashboard.basedir</code>,