notice-template.general-macros.tool.vm Maven / Gradle / Ivy
#macro (insertCopyright)
#foreach($copyright in $componentDefinition.copyrights)
$escape.xml($copyright)
#end
#end
#macro (insertLicenseTemplate)
#set ($licenseTemplate = $context.getLicenseTemplate($license, $componentDefinition))
#if($licenseTemplate != "")
$licenseTemplate
#end
#end
#macro (insertNote $componentDefinition)
#if($componentDefinition.isNoteSet())
#set($note=$escape.xml($componentDefinition.note))
#if($note.startsWith(""))
$note
#else
#if($note.trim().length() > 0)
$note
#end
#end
#end
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy