The only thing which does not work is capturing the CLOVER results. I have CLOVER reports but the "dashboard-single.xml" shows
<?xml version="1.0" encoding="UTF-8"?>
<dashboard-single> <aggregator name="cserrors">7</aggregator> <aggregator name="cswarnings">0</aggregator> <aggregator name="clovertpc">-</aggregator> <aggregator name="cloverloc">-</aggregator> <aggregator name="cloverncloc">-</aggregator> </dashboard-single>
Looking at the plugin it looks for a "clover.xml" and the default of the CLOVER plugin is NOT to generate a clover.xml -
maven.clover.report.xml=true
fixes that and now it works like a charm ...
A very happy
Siegfried Goeschl
Vincent Massol wrote:
-----Original Message----- From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] Sent: lundi 10 janvier 2005 18:26 To: Maven Users List Subject: Re: How to get Dashboard to run?!
Hi Vincent,
well, I have multiple subproject using a Master POM but I'm don't use Reactor/Multiproject for the complete build due to memory leaks (I think they are still there). But I use a reactor to create a master webpage with Velocity.
So I assumed the first step is "Solution 1 - Registering it as Maven Report" to create a report for a single project. But the "dashboard-single.xml" is not created using "maven site" for the individual project. When I run "maven dashboard:report-single" I do get the file since the plugins reruns the required plugins (or takes the existing stuff when setting maven.dashboard.rungoals = false). Okay thats fine - I updated my project and have now a "dashboard-single.xml" fore each subproject.
But how can I create the Dashboard report for my Master project if all
"dashboard-single.xml" exists?!
The only reason I can think of is that you project directory structure does not match the dashboard plugin defaults. By default it assumes the following structure:
maven.dashboard.basedir=${basedir} maven.dashboard.includes=*/project.xml maven.dashboard.excludes=**/target/**/project.xml
(This is from where you start the master project, i.e. where you type 'maven site').
By default, if you haven't modified the default dashboard properties, the dashboard project will execute the reactor an automatically run the dashboard:report-single goals on your subprojects. You don't need to run it yourself.
Thanks -Vincent
Thanks in advance
Siegfried Goeschl
Vincent Massol wrote:
data.Hi Siegfried,
You'll need to verify that the each subproject properly collects the
Check if there's a dashboard-single.xml file in them. The content ofthese
waysfiles are then collated at the top level in a dashboard-data.xml file.
If you don't have any of these files, it means that you've not told the dashboard plugin to execute on the individual projects.
On http://maven.apache.org/reference/plugins/dashboard/, you'll find 3
---------------------------------------------------------------------of using the plugins listed. Which one are you trying to use?
Thanks -Vincent
-----Original Message----- From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] Sent: lundi 10 janvier 2005 17:19 To: Maven Users List Subject: How to get Dashboard to run?!
Hi folks,
I try to get the Dashboard plugin running (1.6 on Maven 1.0.2 on Windows XP) on my project.
I started with a single project
+) I added the dashboard-plugin to my Master POM and created the site +) Looking at the plugin the default configuration should be fine +) A dashboard report is added but does not contain any data +) the same for dashboard-data.xml and the stuff in generated-xdocs
Do I miss something here?! For this single project the data for checkstyle and clover should be collected?!
Thanks in advance
Siegfried Goeschl
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
