diff --git a/dashboard/plugin.jelly b/dashboard/plugin.jelly index d7faebd1..75c44c6d 100644 --- a/dashboard/plugin.jelly +++ b/dashboard/plugin.jelly @@ -185,31 +185,32 @@ ======================================================================== --> - - - - - - - - - - ${maven.dashboard.aggregators} - - - + + + + + + + + + + ${maven.dashboard.aggregators} + + + + Generating data for aggregator [${aggregatorName}] @@ -242,15 +243,16 @@ - - - - - + + + + + + diff --git a/dashboard/src/plugin-test/maven.xml b/dashboard/src/plugin-test/maven.xml index e12aec69..dd5c0d5d 100644 --- a/dashboard/src/plugin-test/maven.xml +++ b/dashboard/src/plugin-test/maven.xml @@ -34,7 +34,8 @@ - + + diff --git a/dashboard/src/plugin-test/project.properties b/dashboard/src/plugin-test/project.properties index 9ad839bf..cd67fe8d 100644 --- a/dashboard/src/plugin-test/project.properties +++ b/dashboard/src/plugin-test/project.properties @@ -28,3 +28,8 @@ offline=true maven.multiproject.basedir=${basedir} maven.multiproject.includes=*/project.xml maven.multiproject.excludes= + +# Turn off these properties are we're using the multiproject plugin to +# generate the dashboard +maven.dashboard.rungoals = false +maven.dashboard.runreactor = false diff --git a/dashboard/src/plugin-test/subproject1/project.properties b/dashboard/src/plugin-test/subproject1/project.properties index b2c5c957..3ea21cdb 100644 --- a/dashboard/src/plugin-test/subproject1/project.properties +++ b/dashboard/src/plugin-test/subproject1/project.properties @@ -22,3 +22,5 @@ maven.xdoc.date=left maven.checkstyle.header.file = ${basedir}/../LICENSE.txt maven.dashboard.aggregators = csall,cserrors,cswarnings,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors + +maven.clover.report.xml = true diff --git a/dashboard/src/plugin-test/subproject1/project.xml b/dashboard/src/plugin-test/subproject1/project.xml index 3c9f556d..9905f365 100644 --- a/dashboard/src/plugin-test/subproject1/project.xml +++ b/dashboard/src/plugin-test/subproject1/project.xml @@ -36,5 +36,6 @@ maven-checkstyle-plugin maven-clover-plugin + maven-junit-report-plugin diff --git a/dashboard/src/plugin-test/subproject2/project.properties b/dashboard/src/plugin-test/subproject2/project.properties index b2c5c957..8808cdd1 100644 --- a/dashboard/src/plugin-test/subproject2/project.properties +++ b/dashboard/src/plugin-test/subproject2/project.properties @@ -22,3 +22,4 @@ maven.xdoc.date=left maven.checkstyle.header.file = ${basedir}/../LICENSE.txt maven.dashboard.aggregators = csall,cserrors,cswarnings,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors +maven.dashboard.rungoals = true diff --git a/dashboard/src/plugin-test/subproject2/project.xml b/dashboard/src/plugin-test/subproject2/project.xml index f5779656..7c57319c 100644 --- a/dashboard/src/plugin-test/subproject2/project.xml +++ b/dashboard/src/plugin-test/subproject2/project.xml @@ -22,6 +22,8 @@ test-maven-dashboard-plugin-subproject2 Maven Dashboard plugin test - Subproject2 - maven-checkstyle-plugin + diff --git a/dashboard/xdocs/aggregators.xml b/dashboard/xdocs/aggregators.xml index 81b7dac6..c75fabee 100644 --- a/dashboard/xdocs/aggregators.xml +++ b/dashboard/xdocs/aggregators.xml @@ -1,4 +1,5 @@ + - Maven Dashboard plugin goals diff --git a/dashboard/xdocs/index.xml b/dashboard/xdocs/index.xml index 5e073ccf..1667fc32 100644 --- a/dashboard/xdocs/index.xml +++ b/dashboard/xdocs/index.xml @@ -84,32 +84,42 @@ 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. + In your master project, add a maven-dashboard-report + report entry:

+ + [...] + maven-dashboard-plugin + +]]>

- 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. + Add the following 3 properties to your master project:

+ +

+ Then generate the site by running the multiproject:site + goal. +

+
diff --git a/dashboard/xdocs/navigation.xml b/dashboard/xdocs/navigation.xml index 0c11f551..8bca883b 100644 --- a/dashboard/xdocs/navigation.xml +++ b/dashboard/xdocs/navigation.xml @@ -1,4 +1,5 @@ + - Maven Dashboard plugin properties