Generate a dashboard HTML report containing information gathered from other Maven reports (Checkstyle, Clover, JUnit, Simian, etc). The dashboard aggregate this information for all subprojects, presenting them in a single tabular format.
Please note that the dashboard plugin is not supposed to work on a single project. You need to have a master project and subprojects to make it work.
Current features:
There are several possible ways of using the dashboard plugin.
In your master project, add a maven-dashboard-report
report entry:
Then, when you generate the web site (maven site),
Maven will generate the dashboard report which will be available
in the web site left menu, under "Project Reports".
In your master project, simply type maven dashboard.
This will generate a dashboard xdoc file. Then type
maven xdoc to transform it into an HTML file.
Only use this solution if you're already familiar with the dashboard plugin.
If you are already running a custom reactor you have the possibility to integrate the dashboard plugin in your reactor build. You would do this to shorten the build time.
To do this, you need to add the dashboard:report-single
goal to the list of goals being run by your reactor. The best option
is to ensure this goal is run after the other goals generating the
report artifacts needed by the dashboard aggregators you're running.
In order to prevent the dashboard:report-single goal from
automatically calling the report artifact goals, you'll need to add
the following property: maven.dashboard.rungoals = false.
At the master project level, you'll simply need to add a report entry
as described above in 'Solution 1'. You'll also need to add the
following property: maven.dashboard.runreactor = false.
This property prevents the dashboard plugin from automatically calling
the dashboard reactor.