minor update

Former-commit-id: ba9c6b41a789c53f5b5eb049c6f1fd2528045dea
This commit is contained in:
Jeremy Long
2014-01-19 10:26:03 -05:00
parent 48ac0049aa
commit f65c30e975
2 changed files with 21 additions and 0 deletions

View File

@@ -50,6 +50,17 @@
<xs:element name="filePath" type="xs:string" minOccurs="1" maxOccurs="1" />
<xs:element name="sha1" type="xs:string" minOccurs="1" maxOccurs="1" />
<xs:element name="md5" type="xs:string" minOccurs="1" maxOccurs="1" />
<xs:sequence>
<xs:element name="identifier" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" />
<xs:element name="url" type="xs:string" minOccurs="0" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="type" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>

View File

@@ -53,6 +53,16 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
<filePath>$esc.xml($related.FilePath)</filePath>
<sha1>$esc.xml($related.Sha1sum)</sha1>
<md5>$esc.xml($related.Md5sum)</md5>
#foreach($id in $related.getIdentifiers())
#if ($id.type=="maven")
<identifier type="$esc.xml($id.type)">
<name>($id.value)</name>
#if( $id.url )
<url>$esc.xml($id.url)</url>
#end
</identifier>
#end
#end
</relatedDependency>
#end
</relatedDependencies>