PR: MPDASHBOARD-28
Support sorting of the report items git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@373908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2c38a0a601
commit
469dfb1013
@ -130,10 +130,17 @@
|
|||||||
</j:if>
|
</j:if>
|
||||||
</j:forEach>
|
</j:forEach>
|
||||||
|
|
||||||
|
<j:set var="projectList" value="${reactorProjects}"/>
|
||||||
|
<j:if test="${maven.dashboard.sort == 'true'}">
|
||||||
|
<!-- NOTE: this only works with Maven 1.1 -->
|
||||||
|
<u:sort var="sortedReactorProjects" items="${reactorProjects}" property="${maven.dashboard.sort.property}"/>
|
||||||
|
<j:set var="projectList" value="${sortedReactorProjects}"/>
|
||||||
|
</j:if>
|
||||||
|
|
||||||
<j:file name="${maven.dashboard.report.xml}" prettyPrint="true"
|
<j:file name="${maven.dashboard.report.xml}" prettyPrint="true"
|
||||||
xmlns="dashboard">
|
xmlns="dashboard">
|
||||||
<dashboard>
|
<dashboard>
|
||||||
<j:forEach var="reactorProject" items="${reactorProjects}">
|
<j:forEach var="reactorProject" items="${projectList}">
|
||||||
<u:available
|
<u:available
|
||||||
file="${reactorProject.context.getVariable('maven.build.dir')}/dashboard-single.xml">
|
file="${reactorProject.context.getVariable('maven.build.dir')}/dashboard-single.xml">
|
||||||
<!-- FIXME: this should be maven.dashboard.report.single -->
|
<!-- FIXME: this should be maven.dashboard.report.single -->
|
||||||
|
|||||||
@ -63,6 +63,11 @@ maven.dashboard.runreactor = true
|
|||||||
# aggregators.
|
# aggregators.
|
||||||
maven.dashboard.report.showempty = true
|
maven.dashboard.report.showempty = true
|
||||||
|
|
||||||
|
# If true, projects will be sorted by the given property
|
||||||
|
# NOTE: this only works with Maven 1.1
|
||||||
|
maven.dashboard.sort = false
|
||||||
|
maven.dashboard.sort.property = name
|
||||||
|
|
||||||
# Images used when generating the progress bar for the dashboard HTML color
|
# Images used when generating the progress bar for the dashboard HTML color
|
||||||
# for left bar
|
# for left bar
|
||||||
maven.dashboard.report.bar.left = green
|
maven.dashboard.report.bar.left = green
|
||||||
|
|||||||
@ -25,6 +25,7 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.9-SNAPSHOT" date="in svn">
|
<release version="1.9-SNAPSHOT" date="in svn">
|
||||||
|
<action dev="ltheussl" type="add" issue="MPDASHBOARD-28">Allow sorting of dashboard items (requires Maven 1.1).</action>
|
||||||
<action dev="ltheussl" type="add" issue="MPDASHBOARD-30" due-to="Jeff Jensen">Add message on status of finding dashboard-single.xml.</action>
|
<action dev="ltheussl" type="add" issue="MPDASHBOARD-30" due-to="Jeff Jensen">Add message on status of finding dashboard-single.xml.</action>
|
||||||
<action dev="ltheussl" type="fix" issue="MPDASHBOARD-35" due-to="Christoph Jerolimov">Fix count of changelog-entries with maven-changelog-plugin-1.9.</action>
|
<action dev="ltheussl" type="fix" issue="MPDASHBOARD-35" due-to="Christoph Jerolimov">Fix count of changelog-entries with maven-changelog-plugin-1.9.</action>
|
||||||
<action dev="ltheussl" type="add">Add new aggregators <code>jiraopen</code> and <code>jirascheduled</code>.</action>
|
<action dev="ltheussl" type="add">Add new aggregators <code>jiraopen</code> and <code>jirascheduled</code>.</action>
|
||||||
|
|||||||
@ -68,6 +68,11 @@ maven.dashboard.runreactor = true
|
|||||||
# aggregators.
|
# aggregators.
|
||||||
maven.dashboard.report.showempty = true
|
maven.dashboard.report.showempty = true
|
||||||
|
|
||||||
|
# If true, projects will be sorted by the given property
|
||||||
|
# NOTE: this only works with Maven 1.1
|
||||||
|
maven.dashboard.sort = false
|
||||||
|
maven.dashboard.sort.property = name
|
||||||
|
|
||||||
# Images used when generating the progress bar for the dashboard HTML color
|
# Images used when generating the progress bar for the dashboard HTML color
|
||||||
# for left bar
|
# for left bar
|
||||||
maven.dashboard.report.bar.left = green
|
maven.dashboard.report.bar.left = green
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user