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

rombert pushed a commit to branch issue/SLING-12305
in repository 
https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git

commit ccde7b1a86936593f81b17fbc15d2cd269be3ecb
Author: Robert Munteanu <romb...@apache.org>
AuthorDate: Thu Apr 25 09:45:42 2024 +0200

    SLING-12305 - Build fails on Java 21 due to invoker plug-in: Unsupported 
class file major version 65
    
    Update to a more recent version of the invoker-maven-plugin, which depends 
on a version of Groovy
    with Java 21 support.
---
 pom.xml | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 1172d97..ae37b62 100644
--- a/pom.xml
+++ b/pom.xml
@@ -149,6 +149,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-invoker-plugin</artifactId>
+                <version>3.6.1</version>
                 <configuration>
                     <debug>true</debug>
                     <projectsDirectory>src/it</projectsDirectory>
@@ -169,7 +170,24 @@
                             <goal>verify</goal>
                         </goals>
                     </execution>
-                </executions>
+                </executions><!--
+                <dependencies>
+                  <dependency>
+                    <groupId>org.apache.groovy</groupId>
+                    <artifactId>groovy</artifactId>
+                    <version>4.0.16</version>
+                  </dependency>
+                  <dependency>
+                    <groupId>org.apache.groovy</groupId>
+                    <artifactId>groovy-json</artifactId>
+                    <version>4.0.16</version>
+                  </dependency>
+                  <dependency>
+                    <groupId>org.apache.groovy</groupId>
+                    <artifactId>groovy-xml</artifactId>
+                    <version>4.0.16</version>
+                  </dependency>
+                </dependencies>-->
             </plugin>
         </plugins>
     </build>

Reply via email to