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

kwin pushed a commit to branch feature/require-java17-for-building
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit f712a24c20aa9480a546916f37f78fbda906dfe7
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 | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index 0289e417..39a42646 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,7 @@
     <!-- 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>
+    <minimalJavaBuildVersion>17</minimalJavaBuildVersion><!-- required by 
plantuml-m-p 0.3 -->
   </properties>
 
   <dependencies>
@@ -112,6 +113,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