--- /dev/null
+<!DOCTYPE html>
+<!-- Generated by Apache Maven Doxia Site Renderer#if( $doxiaSiteRendererVersion ) $doxiaSiteRendererVersion#end at $dateFormat.format( $currentDate ) -->
+## Datenstrukturen für die Navigation (Breadcrumbs und Menü) vorbereiten
+#set ( $crumbs = $project.getClass().forName('java.util.LinkedList').newInstance() )
+#set ( $parents = $project.getClass().forName('java.util.LinkedList').newInstance() )
+#set ( $active = 'index.html' )
+#set ( $skiplist = [ 'index.html' ] )
+#macro ( searchBreadcrumbTrail $items )
+ #if ( $breadcrumbs )
+ ## Der zuerst gefundene Pfad gilt (denn dieser liegt im selbst erzeugten Menü)
+ #else
+ #foreach ( $item in $items )
+ #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) )
+ #set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
+ #if ( $alignedFileName == $currentItemHref )
+ ## Sonderfall abfangen :/
+ #if ( $alignedFileName == 'index.html' )
+ #set ( $breadcrumbs = [] )
+ #set ( $path = [ 'index.html' ] )
+ #else
+ #set ( $breadcrumbs = $crumbs.clone() )
+ ## Den Titel der Seite korrigieren!
+ #set ( $title = "$project.name - $item.name" )
+ #set ( $shortTitle = $item.name )
+ ## Pfad für die Identifizierung sichtbarer Menüeinträge aufbauen
+ #set ( $path = [ 'index.html' ] )
+ #foreach ( $crumb in $crumbs )
+ #set ( $currentItemHref = $PathTool.calculateLink( $crumb.href, $relativePath ) )
+ #set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
+ #set ( $sinkhole = $path.add( $currentItemHref ) )
+ #end
+ #set ( $sinkhole = $path.add( $alignedFileName ) )
+ #end
+ #else
+ #if ( !$item.items.empty )
+ #set ( $sinkhole = $crumbs.push( $item ) )
+ #searchBreadcrumbTrail ( $item.items )
+ #set ( $sinkhole = $crumbs.pop() )
+ #end
+ #end
+ #end
+ #end
+#end
+#macro ( buildSkiplist $item )
+ #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) )
+ #set ( $sinkhole = $skiplist.add( $currentItemHref.replaceAll( '\\', '/' ) ) )
+ #foreach ( $item in $item.items )
+ #buildSkiplist ( $item )
+ #end
+#end
+#macro ( findActive $item $skip)
+ #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) )
+ #set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
+ #set ( $doskip = false )
+ #if ( $skip )
+ #foreach ( $toskip in $skiplist )
+ #if ( $currentItemHref == $toskip )
+ #set ( $doskip = true )
+ #end
+ #end
+ #end
+ #if ( !$doskip )
+ #if ( $alignedFileName == $currentItemHref )
+ #if ( $item.items.size() > 0 )
+ #set ( $active = $alignedFileName )
+ #else
+ #set ( $active = $parents.peek() )
+ #end
+ #end
+ #set ( $sinkhole = $parents.push( $currentItemHref ) )
+ #foreach ( $item in $item.items )
+ #findActive ( $item $skip )
+ #end
+ #set ( $sinkhole = $parents.pop() )
+ #end
+#end
+#foreach ( $menu in $decoration.body.menus )
+ ## Breadcrumb-Pfad suchen
+ #searchBreadcrumbTrail ( $menu.items )
+ ## Bestimmen, welche Pfade in dem selbst definierten Menü liegen
+ #set ( $sinkhole = $parents.push( 'index.html' ) )
+ #if ( !$menu.name )
+ #foreach ( $item in $menu.items )
+ #buildSkiplist( $item )
+ #end
+ ## Aktives (Unter-)Menü bestimmen (und dabei nichts überspringen)
+ #foreach ( $item in $menu.items )
+ #findActive( $item false)
+ #end
+ #else
+ ## Aktives (Unter-)Menü bestimmen (und dabei Einträge aus dem selbst
+ ## definierten Menü überspringen)
+ #foreach ( $item in $menu.items )
+ #findActive( $item true)
+ #end
+ #end
+ #set ( $sinkhole = $parents.pop() )
+ ## Sonderbehandlung der Einträge im selbst angelegten Menü
+ ## Das Menü wird daran erkannt, das der Name leer ist!
+#end
+<!-- Current: $alignedFileName -->
+<!-- Active: $active -->
+<!-- Path: $path -->
+<!-- Skiplist: $skiplist -->
+##
+#macro ( link $href $name $class )
+ #set ( $linkTitle = ' title="' + $name + '"' )
+ #if ( $href.toLowerCase().startsWith("http:/") || $href.toLowerCase().startsWith("https:/") ||
+ $href.toLowerCase().startsWith("ftp:/") || $href.toLowerCase().startsWith("mailto:") ||
+ $href.toLowerCase().startsWith("file:/") || ($href.toLowerCase().indexOf("://") != -1) )
+ #set ( $linkClass = ' class="external ' + $class + '"' )
+ #else
+ #set ( $linkClass = ' class="' + $class + '"' )
+ #end
+ <a href="$href"$linkClass$linkTitle>$name</a>
+#end
+##
+#macro ( menuItem $item $parent $skip)
+ #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) )
+ #set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
+ #set ( $doskip = false )
+ #if ( $skip )
+ #foreach ( $toskip in $skiplist )
+ #if ( $currentItemHref == $toskip )
+ #set ( $doskip = true )
+ #end
+ #end
+ #end
+##
+ #if ( !$doskip )
+ #set ( $onPath = false )
+ #set ( $parentActive = false )
+ #set ( $off = '' )
+ #set ( $sub = '' )
+ #set ( $cssClass = 's' )
+ #foreach ( $entry in $path )
+ #if ( $entry == $currentItemHref )
+ #set ( $onPath = true )
+ #set ( $cssClass = 's selected' )
+ #end
+ #if ( $entry == $parent && $parent == $active )
+ #set ( $parentActive = true )
+ #end
+ #end
+ #if ( $item.items.size() > 0 )
+ #set ( $sub = ' sub' )
+ #end
+ #if ( !$onPath && !$parentActive )
+ #set ( $off = ' off' )
+ #end
+ <li class="s$sub$off">
+ #if ( $alignedFileName == $currentItemHref )
+ <strong class="s">$item.name</strong>
+ #else
+ #link( $currentItemHref $item.name $cssClass )
+ #end
+ #if ( $item.items.size() > 0 && ( $currentItemHref == $active || $onPath ) )
+ #set ( $newparent = $currentItemHref )
+ <ul class="s#if ( $active == $currentItemHref ) active#end">
+ #foreach( $item in $item.items )
+ #menuItem( $item $newparent $skip )
+ #end
+ </ul>
+ #end
+ </li>
+ #end
+#end
+##
+#macro ( copyright )
+ #if ( $project )
+ #set ( $currentYear = ${currentDate.year} + 1900 )
+##
+ #if ( ${project.inceptionYear} && ( ${project.inceptionYear} != ${currentYear.toString()} ) )
+ ${project.inceptionYear}-${currentYear}
+ #else
+ ${currentYear}
+ #end
+ #end
+#end
+##
+<html>
+ <head>
+ <title>juplo - $title</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" />
+ <link rel="canonical" href="$project.url/$alignedFileName"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" type="text/css" href="/css/base.css" />
+ <style type="text/css">
+ @import '/css/screen.css' screen;
+ </style>
+ <script src="/js/prettify.js"></script>
+ <!--[if lt IE 9]>
+ <script src="/js/html5shiv.js"></script>
+ <![endif]-->
+ <!--[if IE 8]>
+ <link rel="stylesheet" type="text/css" href="/css/ie8.css" />
+ <![endif]-->
+#foreach( $author in $authors )
+ <meta name="author" content="$author" />
+#end
+#if ( $dateCreation )
+ <meta name="author" content="$author" />
+#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 = '<?xml version="1.0" encoding="UTF-8"?>' )
+ #if ( $item.name == "script" )
+ $StringUtils.replace( $item.toUnescapedString(), $documentHeader, "" )
+ #else
+ $StringUtils.replace( $item.toString(), $documentHeader, "" )
+ #end
+ #end
+ #end
+ $headContent
+ </head>
+ <body class="menu" onload="prettyPrint()">
+ <div id="page" class="cf">
+ <header id="header">
+ <h1 id="logo"><a href="/" title="Home" class="l">juplo</a></h1>
+ <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
+ <hr class="h" />
+ </header>
+ <div id="breadcrumb">
+ <strong class="b title">You are here:</strong>
+ <ol class="b">
+ <li class="b"><a class="b" href="/">Home</a></li>
+ <li class="b"><a class="b" href="/projects.html">Projects</a></li>
+ #if ( $alignedFileName == 'index.html' )
+ <li class="b"><strong class="b">$project.name</strong></li>
+ #else
+ <li class="b"><a class="b" href="$relativePath/index.html">$project.name</a></li>
+ #foreach( $crumb in $breadcrumbs )
+ #set ( $currentItemHref = $PathTool.calculateLink( $crumb.href, $relativePath ) )
+ #set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
+ <li class="b">#link( $currentItemHref $crumb.name 'b')</li>
+ #end
+ <li class="b"><strong class="b">$shortTitle</strong></li>
+ #end
+ </ol>
+ <a class="hide" href="#navigation">Jump to navigation</a>
+ <hr class="b" />
+ </div>
+ <main class="content cf">
+ <article id="content" class="main">
+ <header><h1>$shortTitle</h1></header>
+ $bodyContent
+ </article>
+ <div class="marginal">
+ <nav id="nav">
+ <hr class="n" />
+ <a id="navigation"></a>
+ <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
+ <h2 class="nav menu">Section-Menu</h2>
+ <ul id="menu">
+ <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
+ <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
+ <li class="m about"><a href="/about.html" class="m">About</a></li>
+ </ul>
+ <h2 class="nav submenu">
+ <span class="s">Submenu for section</span>
+ <a class="s selected" href="/projects.html">Projects</a>
+ </h2>
+ <ul id="submenu" class="s">
+ ## Die vorhandenen Projekte sind hier hartkodiert!
+ #set ( $projects = {
+ 'Hibernate Maven Plugin' : '/hibernate-maven-plugin/'
+ } )
+ #foreach( $entry in $projects.entrySet() )
+ #if ( $project.name == $entry.key )
+ <li class="s sub">
+ #if ( $alignedFileName == 'index.html' )
+ <strong class="s">$entry.key</strong>
+ #else
+ <a class="s selected" href="$relativePath/index.html">$entry.key</a>
+ #end
+ <ul class="s#if ( $active == 'index.html' ) active#end">
+ ## Die Einträge aller Menüs werden als Einträge eines gemeinsamen
+ ## Menüs angezeigt
+ #foreach ( $menu in $decoration.body.menus )
+ ## Einträge aus dem selbst definierten Menü in den
+ ## automatisch erzeuten Menüs überspringen
+ #if ( $menu.name )
+ #foreach ( $item in $menu.items )
+ #menuItem ( $item 'index.html' true )
+ #end
+ #else
+ #foreach ( $item in $menu.items )
+ #menuItem ( $item 'index.html' false )
+ #end
+ #end
+ #end
+ </ul>
+ </li>
+ #else
+ <li class="s sub off"><a class="s" href="$entry.value">$entry.key</a></li>
+ #end
+ #end
+ </ul>
+ <hr class="n" />
+ </nav>
+ <aside class="m">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="poweredBy" alt="Built by Maven" src="$relativePath/images/logos/maven-feather.png" />
+ </a>
+ </aside>
+ </div>
+ </main>
+ <footer id="footer">
+ <hr class="f" />
+ <ul id="footerlinks">
+ <li class="f" id="copyright">© <strong>mo</strong> #copyright()</li>
+ <li class="f"><a class="f" href="/impressum.html">Impressum</a></li>
+ <li class="f about"><a class="f" href="/about.html">About</a></li>
+ </ul>
+ </footer>
+ </div>
+ #if( $decoration.googleAnalyticsAccountId && $decoration.googleAnalyticsAccountId != "" )
+ <script type="text/javascript"><!--//--><![CDATA[//><!--
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', '$decoration.googleAnalyticsAccountId']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ //--><!]]>
+ </script>
+ #end
+ </body>
+</html>