updated template optional add the GAV

This commit is contained in:
Jeremy Long
2017-05-05 14:15:04 -04:00
parent a4899de956
commit b3736ac13a

View File

@@ -19,7 +19,7 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
@version 1.2 @version 1.2
*#<?xml version="1.0"?> *#<?xml version="1.0"?>
<analysis xmlns="https://jeremylong.github.io/DependencyCheck/dependency-check.1.4.xsd"> <analysis xmlns="https://jeremylong.github.io/DependencyCheck/dependency-check.1.5.xsd">
<scanInfo> <scanInfo>
<engineVersion>$version</engineVersion> <engineVersion>$version</engineVersion>
#foreach($prop in $properties.getMetaData().entrySet()) #foreach($prop in $properties.getMetaData().entrySet())
@@ -31,9 +31,15 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
</scanInfo> </scanInfo>
<projectInfo> <projectInfo>
<name>$enc.xml($applicationName)</name> <name>$enc.xml($applicationName)</name>
<version>$enc.xml($version)</version> #if ($groupID)
<artifactID>$enc.xml($artifactID)</artifactID>
<groupID>$enc.xml($groupID)</groupID> <groupID>$enc.xml($groupID)</groupID>
#end
#if ($artifactID)
<artifactID>$enc.xml($artifactID)</artifactID>
#end
#if ($version)
<version>$enc.xml($version)</version>
#end
<reportDate>$scanDateXML</reportDate> <reportDate>$scanDateXML</reportDate>
<credits>This report contains data retrieved from the National Vulnerability Database: http://nvd.nist.gov</credits> <credits>This report contains data retrieved from the National Vulnerability Database: http://nvd.nist.gov</credits>
</projectInfo> </projectInfo>