WIP:site master
authorKai Moritz <kai@juplo.de>
Mon, 1 Mar 2021 20:57:03 +0000 (21:57 +0100)
committerKai Moritz <kai@juplo.de>
Mon, 1 Mar 2021 20:57:03 +0000 (21:57 +0100)
pom.xml
src/site/site.xml

diff --git a/pom.xml b/pom.xml
index ddcdd11..2b2eb24 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.9.1</version>
+        <configuration>
+          <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
+        </configuration>
+        <dependencies>
+          <dependency><!-- add support for ssh/scp -->
+            <groupId>org.apache.maven.wagon</groupId>
+            <artifactId>wagon-ssh-external</artifactId>
+            <version>2.12</version>
+          </dependency>
+        </dependencies>
+      </plugin>
     </plugins>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-site-plugin</artifactId>
-          <version>3.5.1</version>
-          <configuration>
-            <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
-          </configuration>
-          <dependencies>
-            <dependency><!-- add support for ssh/scp -->
-              <groupId>org.apache.maven.wagon</groupId>
-              <artifactId>wagon-ssh-external</artifactId>
-              <version>2.12</version>
-            </dependency>
-          </dependencies>
-        </plugin>
-      </plugins>
-    </pluginManagement>
   </build>
 
   <reporting>
index a7047c2..a0f801f 100644 (file)
   <skin>
     <groupId>de.juplo.maven</groupId>
     <artifactId>maven-thymeleaf-skin</artifactId>
-    <version>1.0.0</version>
+    <version>1.1.0</version>
   </skin>
   <custom>
     <thymeproxy>
-      <path>/hibernate-maven-plugin-${project.version}/</path>
-      <crumbs><![CDATA[&quot;/projects.html&quot;]]></crumbs>
+      <path>/hibernate-maven-plugin/</path>
+      <crumbs>"/index.html","/projects.html"</crumbs>
+      <command>th:replace="~{/templates/layout.html :: layout(uri='' + ~{:: code[class='site_uri']/text()}, title=~{:: title}, maincontent=~{:: .maincontent}, json='MERGE:' + ~{:: pre[class='json']/text()})}"</command>
     </thymeproxy>
   </custom>
 </project>