Merge pull request #5832 from htynkn/duplicate-entries-in-appendix-e
* pr/5832: Fix duplicate entries in Appendix E
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
version="1.0">
|
||||
|
||||
<xsl:output method="text" encoding="UTF-8" indent="no"/>
|
||||
|
||||
<xsl:key name="by-full-name" match="//mvn:dependency" use="concat(mvn:groupId, '.', mvn:artifactId)"/>
|
||||
<xsl:template match="/">
|
||||
<xsl:text>|===
</xsl:text>
|
||||
<xsl:text>| Group ID | Artifact ID | Version
</xsl:text>
|
||||
<xsl:for-each select="//mvn:dependency">
|
||||
<xsl:for-each select="//mvn:dependency[generate-id() = generate-id(key('by-full-name',
|
||||
concat(mvn:groupId, '.', mvn:artifactId))[1])]">
|
||||
<xsl:sort select="mvn:groupId"/>
|
||||
<xsl:sort select="mvn:artifactId"/>
|
||||
<xsl:text>
</xsl:text>
|
||||
|
||||
Reference in New Issue
Block a user