From be1f047ca3bf5936e8159508901a1fb9d4b6a572 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 19 Jan 2014 10:26:03 -0500 Subject: [PATCH] minor update Former-commit-id: 5b2893cceadeef9b1ccde67bce61efb656d82230 --- .../src/main/resources/schema/DependencyCheck.xsd | 11 +++++++++++ .../src/main/resources/templates/XmlReport.vsl | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/dependency-check-core/src/main/resources/schema/DependencyCheck.xsd b/dependency-check-core/src/main/resources/schema/DependencyCheck.xsd index c3e7e71ca..c59235fd6 100644 --- a/dependency-check-core/src/main/resources/schema/DependencyCheck.xsd +++ b/dependency-check-core/src/main/resources/schema/DependencyCheck.xsd @@ -50,6 +50,17 @@ + + + + + + + + + + + diff --git a/dependency-check-core/src/main/resources/templates/XmlReport.vsl b/dependency-check-core/src/main/resources/templates/XmlReport.vsl index 0c8f0b7cb..97b019697 100644 --- a/dependency-check-core/src/main/resources/templates/XmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/XmlReport.vsl @@ -53,6 +53,16 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. $esc.xml($related.FilePath) $esc.xml($related.Sha1sum) $esc.xml($related.Md5sum) +#foreach($id in $related.getIdentifiers()) +#if ($id.type=="maven") + + ($id.value) +#if( $id.url ) + $esc.xml($id.url) +#end + +#end +#end #end