Update gmavenplus-plugin to 5.1.0

to prepare update to Java 25 which isn't supported by 4.2.1.
Bump the Groovy dependency of gmavenplus-plugin to 4.0.32; Groovy 4.0.21
cannot read Java 25 class files (major version 69).

Change-Id: I3e2fccf39c549755026f22d36368ccdcec6bb27f
diff --git a/pom.xml b/pom.xml
index 0d393f9..e079a50 100644
--- a/pom.xml
+++ b/pom.xml
@@ -658,18 +658,24 @@
       <plugin>
         <groupId>org.codehaus.gmavenplus</groupId>
         <artifactId>gmavenplus-plugin</artifactId>
-        <version>4.2.1</version>
+        <version>5.1.0</version>
         <dependencies>
           <dependency>
             <groupId>org.apache.groovy</groupId>
             <artifactId>groovy</artifactId>
-            <version>4.0.21</version>
+            <version>4.0.32</version>
             <scope>runtime</scope>
           </dependency>
           <dependency>
             <groupId>org.apache.groovy</groupId>
             <artifactId>groovy-ant</artifactId>
-            <version>4.0.21</version>
+            <version>4.0.32</version>
+            <scope>runtime</scope>
+          </dependency>
+          <dependency>
+            <groupId>org.apache.ivy</groupId>
+            <artifactId>ivy</artifactId>
+            <version>2.5.3</version>
             <scope>runtime</scope>
           </dependency>
         </dependencies>