From f65c30e975fcf8aee780deefb980528a87959a24 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: ba9c6b41a789c53f5b5eb049c6f1fd2528045dea --- .../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