[UIMA-6223] Groovy plugin causes warning during build

- Upgrade Groovy version using during build to a Groovy v3 which does no longer trigger the warning

(cherry picked from commit 6613cee71015efd2989b2ed1ae141512b281e925)
diff --git a/uimafit-parent/pom.xml b/uimafit-parent/pom.xml
index 592be1f..1dc6f83 100644
--- a/uimafit-parent/pom.xml
+++ b/uimafit-parent/pom.xml
@@ -177,8 +177,8 @@
       </plugin>
       <plugin>
         <groupId>org.codehaus.gmaven</groupId>
-        <artifactId>gmaven-plugin</artifactId>
-        <version>1.5</version>
+        <artifactId>groovy-maven-plugin</artifactId>
+        <version>2.1.1</version>
         <executions>
           <execution>
             <!-- Load postNoticeText from NOTICE file -->
@@ -197,6 +197,14 @@
             </configuration>
           </execution>
         </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy-all</artifactId>
+            <version>3.0.3</version>
+            <type>pom</type>
+          </dependency>
+        </dependencies>
       </plugin>
     </plugins>
     <pluginManagement>
@@ -279,7 +287,7 @@
                 <pluginExecution>
                   <pluginExecutionFilter>
                     <groupId>org.codehaus.gmaven</groupId>
-                    <artifactId>gmaven-plugin</artifactId>
+                    <artifactId>groovy-maven-plugin</artifactId>
                     <versionRange>[1.4,)</versionRange>
                     <goals>
                       <goal>execute</goal>