META-INF.maven.site.vm Maven / Gradle / Ivy
${title}
#foreach ($author in $authors)
#end
#if ($decoration.googleAnalyticsAccountId)
#end
#if ($decoration.body.head)
#foreach ($item in $decoration.body.head.getChildren())
## Workaround for DOXIA-150 due to a non-desired behaviour in p-u
## @see org.codehaus.plexus.util.xml.Xpp3Dom#toString()
## @see org.codehaus.plexus.util.xml.Xpp3Dom#toUnescapedString()
#set ($documentHeader = '')
#if ($item.name == "script")
$StringUtils.replace($item.toUnescapedString(), $documentHeader, "")
#else
$StringUtils.replace($item.toString(), $documentHeader, "")
#end
#end
#end
#macro (link $item)
#set ($href = $PathTool.calculateLink($item.href, $relativePath))
#set ($href = $href.replaceAll('\\', '/'))
#if (($href == ''))
#set ($href = './')
#end
${item.name}
#end
-
${project.version}
-
$dateFormat.applyPattern("yyyy-MM-dd'T'hh:mm:ss'Z'")
#set ( $url = $project.scm.connection )
#if ( $url.matches('.*github.com(?:/|:)([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-]+)\.git') )
#set ( $pos1 = $url.lastIndexOf('github.com') + 11 )
#set ( $pos2 = $url.lastIndexOf('/') + 1 )
#set ( $owner = $url.substring($pos1, $url.lastIndexOf('/')) )
#set ( $repo = $url.substring($pos2, $url.lastIndexOf('.git')) )
#end
${bodyContent}