MPDASHBOARD-8. Fixed documentation regarding the <code>maven.dashboard.rungoals</code> property.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol 2004-08-15 12:52:51 +00:00
parent 680f3b061a
commit ae3540d26a
2 changed files with 15 additions and 5 deletions

View File

@ -25,6 +25,10 @@
</properties>
<body>
<release version="1.4-SNAPSHOT" date="in CVS">
<action dev="vmassol" type="fix" issue="MPDASHBOARD-8" due-to="Carlos Sanchez">
Fixed documentation regarding the <code>maven.dashboard.rungoals</code>
property.
</action>
<action dev="vmassol" type="add" issue="MPDASHBOARD-7" due-to="Paul Spencer">
Added new Checkstyle File aggregator and PMD aggregators (count of
violations and count of files with violations).

View File

@ -96,23 +96,29 @@
</reports>
]]></source>
<p>
Add the following 3 properties to your master project:
Add the following properties to the project you run multiproject from:
</p>
<source><![CDATA[
# Tells the dashboard plugin not to run its own reactor.
# We'll use the one run by the multiproject.
maven.dashboard.runreactor = false
# Tells the multiproject plugin to execute the dashboard:report-single
# goal on each project when you run it through multiproject:site.
maven.multiproject.site.goals=site,dashboard:report-single
]]></source>
<p>
And add to every subproject (not that you can also factorize it by
defining the property in the master project as Maven 1.0 and greater
supports inheritance of properties):
</p>
<source><![CDATA[
# (optional). Tells the dashboard not to specifically run
# artifact goals (i.e. goals that generate artifacts that we aggregate
# in the dashboard report). For example, if you already have defined
# the reports generating these artifacts, you'd be better setting
# rungoals to false so that the artifact goals are only run once.
maven.dashboard.rungoals = false
# Tells the multiproject plugin to execute the dashboard:report-single
# goal on each project when you run it through multiproject:site.
maven.multiproject.site.goals=site,dashboard:report-single
]]></source>
<p>
Then generate the site by running the <code>multiproject:site</code>