5d0d4ca4cd
package rename OBS-URL: https://build.opensuse.org/request/show/431236 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-dbcp?expand=0&rev=1
24 lines
835 B
XML
24 lines
835 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:saxon="http://icl.com/saxon"
|
|
extension-element-prefixes="saxon">
|
|
<xsl:output method="xml" indent="yes" omit-xml-declaration="no"/>
|
|
<xsl:strip-space elements="*"/>
|
|
<xsl:template match="/" >
|
|
<xsl:element name="depset">
|
|
<saxon:group select="//dependency" group-by="./maven/artifactId">
|
|
<xsl:sort select="./maven/artifactId"/>
|
|
<xsl:element name="dependency">
|
|
<xsl:element name="maven">
|
|
<xsl:copy-of select="./maven/*[name() != 'properties']"/>
|
|
</xsl:element>
|
|
<xsl:element name="jpp">
|
|
<xsl:copy-of select="./jpp/*[name() != 'properties']"/>
|
|
</xsl:element>
|
|
</xsl:element>
|
|
<saxon:item/>
|
|
</saxon:group>
|
|
</xsl:element>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|