<a href="http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHANGES-3">MPCHANGES-3</a>. HTML tags entered inside <code><action></code> tags now show up in the generated report.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a995e292e3
commit
f18cbaf95e
@ -5,7 +5,7 @@
|
|||||||
<pomVersion>3</pomVersion>
|
<pomVersion>3</pomVersion>
|
||||||
<id>maven-changes-plugin</id>
|
<id>maven-changes-plugin</id>
|
||||||
<name>Maven Changes Plug-in</name>
|
<name>Maven Changes Plug-in</name>
|
||||||
<currentVersion>1.2</currentVersion>
|
<currentVersion>1.3-SNAPSHOT</currentVersion>
|
||||||
<shortDescription>Produce changes report</shortDescription>
|
<shortDescription>Produce changes report</shortDescription>
|
||||||
<url>http://maven.apache.org/reference/plugins/changes/</url>
|
<url>http://maven.apache.org/reference/plugins/changes/</url>
|
||||||
<issueTrackingUrl>http://jira.codehaus.org/secure/BrowseProject.jspa?id=10312</issueTrackingUrl>
|
<issueTrackingUrl>http://jira.codehaus.org/secure/BrowseProject.jspa?id=10312</issueTrackingUrl>
|
||||||
@ -16,8 +16,8 @@
|
|||||||
</repository>
|
</repository>
|
||||||
<versions>
|
<versions>
|
||||||
<version>
|
<version>
|
||||||
<id>1.2</id>
|
<id>1.3</id>
|
||||||
<name>1.2</name>
|
<name>1.3</name>
|
||||||
<tag>HEAD</tag>
|
<tag>HEAD</tag>
|
||||||
</version>
|
</version>
|
||||||
</versions>
|
</versions>
|
||||||
|
|||||||
@ -31,38 +31,45 @@
|
|||||||
</x:forEach>
|
</x:forEach>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
|
<!-- Release information -->
|
||||||
<!-- Release details -->
|
<jsl:applyTemplates select="*"/>
|
||||||
<x:forEach select="release">
|
|
||||||
<j:set var="sectionName">Release <x:expr select="@version"/> - <x:expr select="@date"/></j:set>
|
|
||||||
<j:set var="version"><x:expr select="@version"/></j:set>
|
|
||||||
<section name="${sectionName}">
|
|
||||||
<a name="${version}"/>
|
|
||||||
<table>
|
|
||||||
<tr><th style='width:50px'>Type</th><th>Changes</th><th style='width:70px'>By</th></tr>
|
|
||||||
<x:forEach var="action" select="action">
|
|
||||||
<j:set var="type"><x:expr select="@type"/></j:set>
|
|
||||||
<j:set var="dev"><x:expr select="@dev"/></j:set>
|
|
||||||
<tr>
|
|
||||||
<td><img src="images/${type}.gif" alt="${type}"/></td>
|
|
||||||
<td><x:expr select="string(.)"/></td>
|
|
||||||
<td><a href="team-list.html#${dev}">${dev}</a></td>
|
|
||||||
</tr>
|
|
||||||
</x:forEach>
|
|
||||||
</table>
|
|
||||||
</section>
|
|
||||||
</x:forEach>
|
|
||||||
</body>
|
</body>
|
||||||
</jsl:template>
|
</jsl:template>
|
||||||
|
|
||||||
<!-- copy any other elements through -->
|
<jsl:template match="release">
|
||||||
<jsl:template match="*" trim="false">
|
<j:set var="sectionName">Release <x:expr select="@version"/> - <x:expr select="@date"/></j:set>
|
||||||
<jsl:copy trim="false">
|
<j:set var="version"><x:expr select="@version"/></j:set>
|
||||||
<jsl:applyTemplates trim="false"/>
|
<section name="${sectionName}">
|
||||||
</jsl:copy>
|
<a name="${version}"/>
|
||||||
|
<table>
|
||||||
|
<tr><th style='width:50px'>Type</th><th>Changes</th><th style='width:70px'>By</th></tr>
|
||||||
|
<jsl:applyTemplates select="*"/>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
</jsl:template>
|
</jsl:template>
|
||||||
|
|
||||||
<!-- element values don't pass through as text -->
|
<jsl:template match="action">
|
||||||
<jsl:template match="@*"/>
|
<j:set var="type"><x:expr select="@type"/></j:set>
|
||||||
|
<j:set var="dev"><x:expr select="@dev"/></j:set>
|
||||||
|
<tr>
|
||||||
|
<td><img src="images/${type}.gif" alt="${type}"/></td>
|
||||||
|
<td><jsl:applyTemplates trim="false"/></td>
|
||||||
|
<td><a href="team-list.html#${dev}">${dev}</a></td>
|
||||||
|
</tr>
|
||||||
|
</jsl:template>
|
||||||
|
|
||||||
|
<jsl:template match="*">
|
||||||
|
<jsl:copy trim="false">
|
||||||
|
<jsl:applyTemplates trim="false"/>
|
||||||
|
</jsl:copy>
|
||||||
|
</jsl:template>
|
||||||
|
|
||||||
|
<!-- element values don't pass through as text -->
|
||||||
|
<jsl:template match="@*"/>
|
||||||
|
|
||||||
|
<!-- CDATA and text nodes pass-thru -->
|
||||||
|
<jsl:template match="text()">
|
||||||
|
<x:expr select="."/>
|
||||||
|
</jsl:template>
|
||||||
|
|
||||||
</jsl:stylesheet>
|
</jsl:stylesheet>
|
||||||
|
|||||||
@ -6,6 +6,15 @@
|
|||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<release version="1.3" date="in CVS">
|
||||||
|
<action dev="vmassol" type="fix">
|
||||||
|
<a href="http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHANGES-3">MPCHANGES-3</a>.
|
||||||
|
HTML tags entered inside <code><action></code> tags now show up
|
||||||
|
in the generated report.
|
||||||
|
</action>
|
||||||
|
</release>
|
||||||
|
|
||||||
<release version="1.2" date="2003-09-29">
|
<release version="1.2" date="2003-09-29">
|
||||||
<action dev="dion" type="update">
|
<action dev="dion" type="update">
|
||||||
Add test project
|
Add test project
|
||||||
@ -25,6 +34,7 @@
|
|||||||
docs.
|
docs.
|
||||||
</action>
|
</action>
|
||||||
</release>
|
</release>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</document>
|
</document>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user