mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-23 17:41:28 +01:00
minor update
Former-commit-id: 5b2893cceadeef9b1ccde67bce61efb656d82230
This commit is contained in:
@@ -50,6 +50,17 @@
|
|||||||
<xs:element name="filePath" type="xs:string" minOccurs="1" maxOccurs="1" />
|
<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="sha1" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||||
<xs:element name="md5" 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:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|||||||
@@ -53,6 +53,16 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
|
|||||||
<filePath>$esc.xml($related.FilePath)</filePath>
|
<filePath>$esc.xml($related.FilePath)</filePath>
|
||||||
<sha1>$esc.xml($related.Sha1sum)</sha1>
|
<sha1>$esc.xml($related.Sha1sum)</sha1>
|
||||||
<md5>$esc.xml($related.Md5sum)</md5>
|
<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>
|
</relatedDependency>
|
||||||
#end
|
#end
|
||||||
</relatedDependencies>
|
</relatedDependencies>
|
||||||
|
|||||||
Reference in New Issue
Block a user