You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2024/11/29 12:44:58 UTC

(uima-ruta) branch release/3.5.x updated: Issue #176: Upgrade dependencies

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

rec pushed a commit to branch release/3.5.x
in repository https://gitbox.apache.org/repos/asf/uima-ruta.git


The following commit(s) were added to refs/heads/release/3.5.x by this push:
     new 508553a9 Issue #176: Upgrade dependencies
508553a9 is described below

commit 508553a99f92c2ff4e954c57c5ec3a1a95ef935e
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Fri Nov 29 13:44:52 2024 +0100

    Issue #176: Upgrade dependencies
    
    - Add enforcer plugin to check build requirements
---
 ruta-parent/pom.xml | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/ruta-parent/pom.xml b/ruta-parent/pom.xml
index 380252a3..b2f88f90 100644
--- a/ruta-parent/pom.xml
+++ b/ruta-parent/pom.xml
@@ -668,7 +668,30 @@
           </environments>
         </configuration>
       </plugin>
-      
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-maven</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireMavenVersion>
+                  <version>[3.9.9,)</version>
+                </requireMavenVersion>
+                <requireJavaVersion>
+                  <version>[${maven.compiler.release},)</version>
+                </requireJavaVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
       <plugin>
         <artifactId>maven-resources-plugin</artifactId>
         <executions>