META-INF.maven.site-macros.vm Maven / Gradle / Ivy
##
##
##
#macro( call $obj )##-----------------------------------------------------------
#**# Call $obj, but ignore its return value.
#**##if ($obj)##
#**### do nothing
#**##end##
#end##--------------------------------------------------------------------------
##
##
#macro( generatedBy )##---------------------------------------------------------
Apache Maven Doxia Site Renderer#if( $doxiaSiteRendererVersion ) $doxiaSiteRendererVersion#end##
#end##--------------------------------------------------------------------------
##
##
#macro( img $alt $src )##-------------------------------------------------------
#**###
#end##--------------------------------------------------------------------------
##
#macro( mavenCentralBadge )##---------------------------------------------------
#img ( "Maven Central" "https://img.shields.io/maven-central/v/$project.groupId/$project.artifactId" )
#end##--------------------------------------------------------------------------
##
##
#macro( ossrhSnapshotBadge )##---------------------------------------------------
#img ( "OSSRH Snapshot" "https://img.shields.io/nexus/s/$project.groupId/$project.artifactId?label=s01.oss.sonatype.org&server=https%3A%2F%2Fs01.oss.sonatype.org" )
#end##--------------------------------------------------------------------------
##
##
#macro( calcLink $target )##----------------------------------------------------
#**### Calculates the appropriate to the target.
#**### @param target specifies the target URL
#**#$PathTool.calculateLink( $target, $relativePath )##
#end##--------------------------------------------------------------------------
##
##