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:
parent
680f3b061a
commit
ae3540d26a
@ -25,6 +25,10 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.4-SNAPSHOT" date="in CVS">
|
<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">
|
<action dev="vmassol" type="add" issue="MPDASHBOARD-7" due-to="Paul Spencer">
|
||||||
Added new Checkstyle File aggregator and PMD aggregators (count of
|
Added new Checkstyle File aggregator and PMD aggregators (count of
|
||||||
violations and count of files with violations).
|
violations and count of files with violations).
|
||||||
|
|||||||
@ -96,23 +96,29 @@
|
|||||||
</reports>
|
</reports>
|
||||||
]]></source>
|
]]></source>
|
||||||
<p>
|
<p>
|
||||||
Add the following 3 properties to your master project:
|
Add the following properties to the project you run multiproject from:
|
||||||
</p>
|
</p>
|
||||||
<source><![CDATA[
|
<source><![CDATA[
|
||||||
# Tells the dashboard plugin not to run its own reactor.
|
# Tells the dashboard plugin not to run its own reactor.
|
||||||
# We'll use the one run by the multiproject.
|
# We'll use the one run by the multiproject.
|
||||||
maven.dashboard.runreactor = false
|
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
|
# (optional). Tells the dashboard not to specifically run
|
||||||
# artifact goals (i.e. goals that generate artifacts that we aggregate
|
# artifact goals (i.e. goals that generate artifacts that we aggregate
|
||||||
# in the dashboard report). For example, if you already have defined
|
# in the dashboard report). For example, if you already have defined
|
||||||
# the reports generating these artifacts, you'd be better setting
|
# the reports generating these artifacts, you'd be better setting
|
||||||
# rungoals to false so that the artifact goals are only run once.
|
# rungoals to false so that the artifact goals are only run once.
|
||||||
maven.dashboard.rungoals = false
|
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>
|
]]></source>
|
||||||
<p>
|
<p>
|
||||||
Then generate the site by running the <code>multiproject:site</code>
|
Then generate the site by running the <code>multiproject:site</code>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user