diff --git a/dependency-check-core/src/main/resources/templates/XmlReport.vsl b/dependency-check-core/src/main/resources/templates/XmlReport.vsl index 166f5df14..3ff033714 100644 --- a/dependency-check-core/src/main/resources/templates/XmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/XmlReport.vsl @@ -19,7 +19,7 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. @version 1.2 *# - + $version #foreach($prop in $properties.getMetaData().entrySet()) @@ -31,9 +31,15 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. $enc.xml($applicationName) - $enc.xml($version) - $enc.xml($artifactID) +#if ($groupID) $enc.xml($groupID) +#end +#if ($artifactID) + $enc.xml($artifactID) +#end +#if ($version) + $enc.xml($version) +#end $scanDateXML This report contains data retrieved from the National Vulnerability Database: http://nvd.nist.gov