enable changesets from maven-changelog-plugin-1.8
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@226361 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
48a215c91f
commit
bc4eff37bc
@ -30,13 +30,32 @@
|
|||||||
<j:useBean var="mavenTool" class="org.apache.maven.util.MavenTool"/>
|
<j:useBean var="mavenTool" class="org.apache.maven.util.MavenTool"/>
|
||||||
<jsl:template match="changelog">
|
<jsl:template match="changelog">
|
||||||
<document>
|
<document>
|
||||||
<jsl:applyTemplates/>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<title>File Activity Analysis</title>
|
<title>File Activity Analysis</title>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<section name="Activity by File">
|
<section name="Activity by File">
|
||||||
|
<jsl:applyTemplates select="changeset" />
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
|
</document>
|
||||||
|
</jsl:template>
|
||||||
|
|
||||||
|
<jsl:template match="changeset">
|
||||||
|
<j:set var="logstart"><x:expr select="@start"/></j:set>
|
||||||
|
<j:set var="logend"><x:expr select="@end"/></j:set>
|
||||||
|
<j:choose>
|
||||||
|
<j:when test="${empty(logstart) and empty(logend)}">
|
||||||
|
<j:set var="setname">Changes from an unknown range</j:set>
|
||||||
|
</j:when>
|
||||||
|
<j:when test="${empty(logend)}">
|
||||||
|
<j:set var="setname">Changes since ${logstart}</j:set>
|
||||||
|
</j:when>
|
||||||
|
<j:otherwise>
|
||||||
|
<j:set var="setname">Changes between ${logstart} and ${logend}</j:set>
|
||||||
|
</j:otherwise>
|
||||||
|
</j:choose>
|
||||||
|
<subsection name="${setname}">
|
||||||
<p>
|
<p>
|
||||||
Timeframe: ${maven.changelog.range} days,
|
Timeframe: ${maven.changelog.range} days,
|
||||||
Total Commits:
|
Total Commits:
|
||||||
@ -44,6 +63,7 @@
|
|||||||
Total Number of Files Changed:
|
Total Number of Files Changed:
|
||||||
<x:expr select="count(./changelog-entry/file)"/>
|
<x:expr select="count(./changelog-entry/file)"/>
|
||||||
</p>
|
</p>
|
||||||
|
<jsl:applyTemplates />
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>File Name</th>
|
<th>File Name</th>
|
||||||
@ -88,9 +108,7 @@
|
|||||||
</j:forEach>
|
</j:forEach>
|
||||||
</j:forEach>
|
</j:forEach>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</subsection>
|
||||||
</body>
|
|
||||||
</document>
|
|
||||||
</jsl:template>
|
</jsl:template>
|
||||||
|
|
||||||
<jsl:template match="file">
|
<jsl:template match="file">
|
||||||
|
|||||||
@ -24,6 +24,9 @@
|
|||||||
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
|
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
|
<release version="1.5.2" date="in SVN">
|
||||||
|
<action dev="brett" type="fix" issue="MPDEVACTIVITY-4">Make template compatible with changelog 1.8 plugin</action>
|
||||||
|
</release>
|
||||||
<release version="1.5.1" date="2004-10-23">
|
<release version="1.5.1" date="2004-10-23">
|
||||||
<action dev="dion" type="fix" issue="MPDEVACTIVITY-1">Use maven.changelog.range instead of maven.activity.range.</action>
|
<action dev="dion" type="fix" issue="MPDEVACTIVITY-1">Use maven.changelog.range instead of maven.activity.range.</action>
|
||||||
</release>
|
</release>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user