[ http://jira.codehaus.org/browse/MPDASHBOARD-33?page=comments#action_47909 
] 

Carlos Sanchez commented on MPDASHBOARD-33:
-------------------------------------------

I've added a section to the docs saying how to use checkstyle with older 
dashboard plugins. We should stay with the old dashboard prperties until 3.0 is 
released. You can change the properties in project.properties in the plugin 
test to prevent the failure.

> Change location of checkstyle files after releasing checkstyle plugin 3.0
> -------------------------------------------------------------------------
>
>          Key: MPDASHBOARD-33
>          URL: http://jira.codehaus.org/browse/MPDASHBOARD-33
>      Project: maven-dashboard-plugin
>         Type: Task
>     Versions: 1.9
>     Reporter: Carlos Sanchez
>     Assignee: Arnaud Heritier
>     Priority: Trivial
>      Fix For: 1.9

>
>
> The location of the checkstyle files changes in 3.0 version of the plugin, so 
> update the dashboard properties accordingly
> Index: plugin.properties
> ===================================================================
> --- plugin.properties (revision 295118)
> +++ plugin.properties (working copy)
> @@ -96,7 +96,7 @@
>  
>  # 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.artifact = 
> ${maven.build.dir}/checkstyle/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
> @@ -104,7 +104,7 @@
>  
>  # 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
> +maven.dashboard.aggregator.csall.artifact = 
> ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
>  maven.dashboard.aggregator.csall.label = CS err/warn
>  maven.dashboard.aggregator.csall.goal = checkstyle
>  maven.dashboard.aggregator.csall.description = Number of Checkstyle errors 
> and warnings
> @@ -112,7 +112,7 @@
>  
>  # Properties for the Checkstyle error aggregator (only errors)
>  maven.dashboard.aggregator.cserrors.script = 
> ${maven.dashboard.aggregators.dir}/cserrors.jelly
> -maven.dashboard.aggregator.cserrors.artifact = 
> ${maven.build.dir}/checkstyle-raw-report.xml
> +maven.dashboard.aggregator.cserrors.artifact = 
> ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
>  maven.dashboard.aggregator.cserrors.label = CS errors
>  maven.dashboard.aggregator.cserrors.goal = checkstyle
>  maven.dashboard.aggregator.cserrors.description = Number of Checkstyle errors
> @@ -120,7 +120,7 @@
>  
>  # Properties for the Checkstyle warning aggregator (only warnings)
>  maven.dashboard.aggregator.cswarnings.script = 
> ${maven.dashboard.aggregators.dir}/cswarnings.jelly
> -maven.dashboard.aggregator.cswarnings.artifact = 
> ${maven.build.dir}/checkstyle-raw-report.xml
> +maven.dashboard.aggregator.cswarnings.artifact = 
> ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
>  maven.dashboard.aggregator.cswarnings.label = CS warnings
>  maven.dashboard.aggregator.cswarnings.goal = checkstyle
>  maven.dashboard.aggregator.cswarnings.description = Number of Checkstyle 
> warnings
> Index: xdocs/properties.xml
> ===================================================================
> --- xdocs/properties.xml      (revision 295118)
> +++ xdocs/properties.xml      (working copy)
> @@ -101,7 +101,7 @@
>  
>  # 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.artifact = 
> ${maven.build.dir}/checkstyle/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
> @@ -109,7 +109,7 @@
>  
>  # 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
> +maven.dashboard.aggregator.csall.artifact = 
> ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
>  maven.dashboard.aggregator.csall.label = CS err/warn
>  maven.dashboard.aggregator.csall.goal = checkstyle
>  maven.dashboard.aggregator.csall.description = Number of Checkstyle errors 
> and warnings
> @@ -117,7 +117,7 @@
>  
>  # Properties for the Checkstyle error aggregator (only errors)
>  maven.dashboard.aggregator.cserrors.script = 
> ${maven.dashboard.aggregators.dir}/cserrors.jelly
> -maven.dashboard.aggregator.cserrors.artifact = 
> ${maven.build.dir}/checkstyle-raw-report.xml
> +maven.dashboard.aggregator.cserrors.artifact = 
> ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
>  maven.dashboard.aggregator.cserrors.label = CS errors
>  maven.dashboard.aggregator.cserrors.goal = checkstyle
>  maven.dashboard.aggregator.cserrors.description = Number of Checkstyle errors
> @@ -125,7 +125,7 @@
>  
>  # Properties for the Checkstyle warning aggregator (only warnings)
>  maven.dashboard.aggregator.cswarnings.script = 
> ${maven.dashboard.aggregators.dir}/cswarnings.jelly
> -maven.dashboard.aggregator.cswarnings.artifact = 
> ${maven.build.dir}/checkstyle-raw-report.xml
> +maven.dashboard.aggregator.cswarnings.artifact = 
> ${maven.build.dir}/checkstyle/checkstyle-raw-report.xml
>  maven.dashboard.aggregator.cswarnings.label = CS warnings
>  maven.dashboard.aggregator.cswarnings.goal = checkstyle
>  maven.dashboard.aggregator.cswarnings.description = Number of Checkstyle 
> warnings

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to