notice-template.en_US.macros.summary.vm Maven / Gradle / Ivy
## FIXME: singular / plural
#set ($language = "en_US")
#macro (requiresLicenseAndNoticeProvision)
#if($noticeSummary.getLicensesRequiringLicenseAndNoticeProvisioning().size() == 1)
$escape.xml($context.enumerateX($noticeSummary.getLicensesRequiringLicenseAndNoticeProvisioning(), "and", "the", $language))
requires provisioning of license file and notice file:
#else
$escape.xml($context.enumerateX($noticeSummary.getLicensesRequiringLicenseAndNoticeProvisioning(), "and", "the", $language))
require provisioning of license file and notice file:
#end
#if($projectContext.isSourceModeDistributionAnnex() == true)
The license and notice file is provided with the software distribution annex.
#else
The license and notice file is provided on request.
#end
#end
##
##
#macro (requiresSourceCodeProvision)
#if($noticeSummary.getLicensesRequiringSourceCodeProvisioning().size() == 1)
$escape.xml($context.enumerateX($noticeSummary.getLicensesRequiringSourceCodeProvisioning(), "and", "the", $language))
requires provisioning of corresponding source code:
#else
$escape.xml($context.enumerateX($noticeSummary.getLicensesRequiringSourceCodeProvisioning(), "and", "the", $language))
require provisioning of corresponding source code:
#end
#if($projectContext.isSourceModeDistributionAnnex() == true)
The corresponding source of $escape.xml($componentDefinition.name) is provided in the software distribution annex.
#else
The corresponding source of $escape.xml($componentDefinition.name) is provided on request.
#end
#end