All Downloads are FREE. Search and download functionalities are using the official Maven repository.

notice-template.general-macros.tool.vm Maven / Gradle / Ivy

There is a newer version: 0.132.0
Show newest version
#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