]> juplo.de Git - hibernate4-maven-plugin/commitdiff
Switchted the docs to `maven-thymeleaf-skin:1.1.2` 1.1.1
authorKai Moritz <kai@juplo.de>
Mon, 6 May 2019 20:16:01 +0000 (22:16 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 26 Oct 2025 15:50:54 +0000 (16:50 +0100)
* Upgraded `maven-thymeleaf-skin` to `1.1.1` and adjusted the configuration
* Upgraded `maven-site-plugin` to version `3.21.0`
* Upgraded `maven-thymeleaf-skin` to version `1.1.2`
* Added the prefix `/projects` to the URIs of the generated site
* Switched the linking for all old projects to the refined path
* Added a `Dockerfile` for building the project
* Added missing versions and refined the pathes for old versions

Dockerfile [new file with mode: 0644]
README.sh [new file with mode: 0755]
pom.xml
src/site/site.xml
src/site/xhtml/index.xhtml

diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..b05bfd1
--- /dev/null
@@ -0,0 +1,17 @@
+FROM openjdk:8-jdk
+
+RUN apt-get update
+RUN apt-get install -y maven
+
+ARG UID=1000
+ARG GID=1000
+
+RUN groupadd -g ${GID} build && useradd -m -u ${UID} -g ${GID} -s /bin/bash build
+
+USER build
+WORKDIR /home/build
+
+ENV HOME=/home/build
+ENV MAVEN_USER_HOME=/home/build/.m2
+
+ENV MAVEN_CONFIG=/home/build/.m2
diff --git a/README.sh b/README.sh
new file mode 100755 (executable)
index 0000000..bef64c3
--- /dev/null
+++ b/README.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+docker build -t jdk .
+docker run --rm --name jdk -it -u $(id -u):$(id -g) -v $(pwd):/home/build -v $HOME/.m2:/home/build/.m2 jdk bash -l
diff --git a/pom.xml b/pom.xml
index 2c2d3335e35d82147724fdd2721f16e740ad4cf0..9f76764f9576137d9187ecf9cd6ff116832e538f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
   <description>Plugin for generating a database-schema from Hibernate-4-Mapping-Annotations</description>
   <version>1.1.1</version>
   <packaging>maven-plugin</packaging>
-  <url>http://juplo.de/hibernate4-maven-plugin</url>
+  <url>https://juplo.de/hibernate-maven-plugin/index.html</url>
 
   <prerequisites>
     <maven>2.0.6</maven>
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.21.0</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.4</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</artifactId>
-              <version>2.9</version>
-            </dependency>
-          </dependencies>
-        </plugin>
-      </plugins>
-    </pluginManagement>
   </build>
 
   <reporting>
index 2b7fe40c370fe6ae4c5a06f0903717b5c4a1b05a..f495248addb66cdcb61f89622268a0e90811b23d 100644 (file)
@@ -1,7 +1,7 @@
 <project>
   <body>
     <menu>
-      <item name="Overview" href="index.html"/>
+      <item name="Hibernate Maven Plugin" href="index.html"/>
       <item name="Configuration Examples" href="configuration.html"/>
       <item name="Parameter Documentation" href="export-mojo.html"/>
       <item name="Enable Debug-Output" href="debugging.html"/>
   <skin>
     <groupId>de.juplo.maven</groupId>
     <artifactId>maven-thymeleaf-skin</artifactId>
-    <version>1.0.0</version>
+    <version>1.1.2</version>
   </skin>
   <custom>
     <thymeproxy>
+      <prefix>/projects</prefix>
       <path>/hibernate-maven-plugin/</path>
-      <crumbs><![CDATA[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;}]]></crumbs>
+      <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>
index 77df8830fca1983aa78824ebd02962b691831d85..d718b811437c8f3a688ac685fd8ea667d8202524 100644 (file)
   </ul>
   <h2>Releases</h2>
   <ul>
-    <li><a href="http://juplo.de/hibernate4-maven-plugin/index.html">current version</a></li>
+    <li><a href="https://juplo.de/hibernate-maven-plugin/index.html">current version</a></li>
     <li>${project.version} (this version)</li>
-    <li><a href="http://juplo.de/hibernate4-maven-plugin-1.0.5/index.html">1.0.5</a></li>
-    <li><a href="http://juplo.de/hibernate4-maven-plugin-1.0.4/index.html">1.0.4</a></li>
-    <li><a href="http://juplo.de/hibernate4-maven-plugin-1.0.3/index.html">1.0.3</a></li>
-    <li><a href="http://juplo.de/hibernate4-maven-plugin-1.0.2/index.html">1.0.2</a></li>
-    <li><a href="http://juplo.de/hibernate4-maven-plugin-1.0.1/index.html">1.0.1</a></li>
-    <li><a href="http://juplo.de/hibernate4-maven-plugin-1.0/index.html">1.0</a></li>
+    <li><a href="/projects/hibernate-maven-plugin/1.1.0/index.html">1.1.0</a></li>
+    <li><a href="/projects/hibernate-maven-plugin/1.0.5/index.html">1.0.5</a></li>
+    <li><a href="/projects/hibernate-maven-plugin/1.0.4/index.html">1.0.4</a></li>
+    <li><a href="/projects/hibernate-maven-plugin/1.0.3/index.html">1.0.3</a></li>
+    <li><a href="/projects/hibernate-maven-plugin/1.0.2/index.html">1.0.2</a></li>
+    <li><a href="/projects/hibernate-maven-plugin/1.0.1/index.html">1.0.1</a></li>
+    <li><a href="/projects/hibernate-maven-plugin/1.0/index.html">1.0</a></li>
   </ul>
  </body>
 </html>