This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


The following commit(s) were added to refs/heads/master by this push:
     new e2e471c5 Enforce Java17 or above for building
e2e471c5 is described below

commit e2e471c5f747697f8a4cb806879fac6d3db329c8
Author: Konrad Windszus <k...@apache.org>
AuthorDate: Sat Feb 8 15:04:15 2025 +0100

    Enforce Java17 or above for building
    
    This requirement has been introduced with the update of
    plantuml-maven-plugin to 0.3
---
 pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pom.xml b/pom.xml
index bc8175bf..6dfc5fb5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,8 @@
     <!-- used by src/xdoc/errors/404.xml.vm as well -->
     <version.maven-fluido-skin>2.0.1</version.maven-fluido-skin>
     <version.plantuml-maven-plugin>0.3</version.plantuml-maven-plugin>
+    <!-- required by plantuml-m-p 0.3 -->
+    <minimalJavaBuildVersion>17</minimalJavaBuildVersion>
   </properties>
 
   <dependencies>
@@ -112,6 +114,16 @@
   <build>
     <pluginManagement>
       <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>enforce-java-version</id>
+              <phase>pre-site</phase>
+            </execution>
+          </executions>
+        </plugin>
         <!-- publish mono-module site with "mvn site-deploy" -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>

Reply via email to