minor update

Former-commit-id: 5b2893cceadeef9b1ccde67bce61efb656d82230
This commit is contained in:
Jeremy Long
2014-01-19 10:26:03 -05:00
parent df07a5ebb6
commit be1f047ca3
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>