templates.license_report_html_default.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of licensescout-maven-plugin Show documentation
Show all versions of licensescout-maven-plugin Show documentation
Maven plug-in using the LicenseScout Core for standard Maven builds. Can write reports as CSV, Text or HTML using configurable templates and can write results to a database.
#*
* Copyright 2019 Association for the promotion of open-source insurance software and for the establishment of open interface standards in the insurance industry (Verein zur Förderung quelloffener Versicherungssoftware und Etablierung offener Schnittstellenstandards in der Versicherungsbranche)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*#
3rd Party Libraries - License Overview
3rd Party Libraries
Source: $sourcePath
Detection status statistics
Detection status
Number of libraries
#foreach($statisticsEntry in $detectionStatusStatistics.entrySet())
#if (($velocityCount % 2) == 0)
#set ($count = 0)
#else
#set ($count = 1)
#end
#set ($style = "row_" + $count)
$statisticsEntry.key
$statisticsEntry.value
#end
Legal status statistics
Legal status
Number of libraries
#foreach($statisticsEntry in $legalStatusStatistics.entrySet())
#if (($velocityCount % 2) == 0)
#set ($count = 0)
#else
#set ($count = 1)
#end
#set ($style = "row_" + $count)
$statisticsEntry.key
$statisticsEntry.value
#end
General statistics
Value
Value
License candidate files count
$generalStatistics.candidateLicenseFileCount
Total archive count
$generalStatistics.totalArchiveCount
Distinct Licenses found
#foreach($license in $distinctLicenses)
- $license.name $license.version ($license.legalStatus)
#end
Archives - List
#set ($count = 0)
#set ($td_Id = 0)
Library
Version
Detection Status
Legal Status
Licenses
#if($reportConfiguration.showDocumentationUrl)
Documentation
#end
#if($reportConfiguration.showPathColumn)
Path
#end
#if($reportConfiguration.showMessageDigestColumn)
Message digest ($messageDigestAlgorithm)
#end
#if($reportConfiguration.showLicenseCandidateFilesColumn)
Candidate License files
#end
#foreach($archive in $archiveFiles)
#if (($velocityCount % 2) == 0)
#set ($count = 0)
#else
#set ($count = 1)
#end
#set ($style = "row_" + $count)
$archive.fileName
$archive.version
$archive.detectionStatus
$archive.legalStatus
#foreach($license in $archive.licenses)
#set ($files = "")
#foreach($path in $archive.getFilePaths($license))
#set ($files = $files + "- " + $path + "
")
#end
#set ($files = $files + "
")
#set ($td_Id = $td_Id + 1)
#set ($myId = "td_" + $td_Id)
#set ($myId_license_name = "td_" + $td_Id + "_license_name")
$license.name
#if ($license.versionPresent)
Version $license.version
#end
#end
#if($reportConfiguration.showDocumentationUrl)
#if($archive.documentationUrl && !$archive.documentationUrl.empty)
Documentation
#end
#end
#if($reportConfiguration.showPathColumn)
$archive.path
#end
#if($reportConfiguration.showMessageDigestColumn)
$archive.messageDigestString
#end
#if($reportConfiguration.showLicenseCandidateFilesColumn)
#foreach($candidateFilePath in $archive.licenseCandidateFiles)
$candidateFilePath
#end
#end
#end
© 2015 - 2024 Weber Informatics LLC | Privacy Policy