Include details of dependency versions in the docs

Closes #637
This commit is contained in:
Andy Wilkinson
2014-04-03 14:22:44 +01:00
parent 307fbba9e4
commit 3328a30b7b
7 changed files with 125 additions and 40 deletions

View File

@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:mvn="http://maven.apache.org/POM/4.0.0"
version="1.0">
<xsl:output method="text" encoding="UTF-8" indent="no"/>
<xsl:template match="/">
<xsl:text>|==================================&#xa;</xsl:text>
<xsl:text>| Group ID | Artifact ID | Version&#xa;</xsl:text>
<xsl:for-each select="//mvn:dependency">
<xsl:sort select="mvn:groupId"/>
<xsl:sort select="mvn:artifactId"/>
<xsl:text>| </xsl:text>
<xsl:copy-of select="mvn:groupId"/>
<xsl:text> | </xsl:text>
<xsl:copy-of select="mvn:artifactId"/>
<xsl:text> | </xsl:text>
<xsl:copy-of select="mvn:version"/>
<xsl:text>&#xa;</xsl:text>
</xsl:for-each>
<xsl:text>|==================================</xsl:text>
</xsl:template>
</xsl:stylesheet>