You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2023/06/10 18:19:28 UTC

[cxf] 01/02: Update codegen-plugin to support JDK-21

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

reta pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit da73da6c8011d7d76c275a1636bbe64849072563
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Sat Jun 10 12:50:06 2023 -0400

    Update codegen-plugin to support JDK-21
    
    (cherry picked from commit bd0ec6e3280990c685366e8857e266cc43f4670e)
    
    # Conflicts:
    #       maven-plugins/codegen-plugin/src/it/jaxb-xjc-runtime-sources/pom.xml
    #       maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml
    #       maven-plugins/codegen-plugin/src/it/mark-generated/pom.xml
    #       maven-plugins/codegen-plugin/src/it/wsdl-artifact-resolution/pom.xml
---
 .../codegen-plugin/src/it/jaxb-xjc-runtime-sources/pom.xml         | 4 ++--
 maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml | 6 +++---
 maven-plugins/codegen-plugin/src/it/mark-generated/pom.xml         | 4 ++--
 .../codegen-plugin/src/it/wsdl-artifact-resolution/pom.xml         | 4 ++--
 parent/pom.xml                                                     | 7 +++++++
 5 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/maven-plugins/codegen-plugin/src/it/jaxb-xjc-runtime-sources/pom.xml b/maven-plugins/codegen-plugin/src/it/jaxb-xjc-runtime-sources/pom.xml
index 024bd528ea..49da6d1012 100644
--- a/maven-plugins/codegen-plugin/src/it/jaxb-xjc-runtime-sources/pom.xml
+++ b/maven-plugins/codegen-plugin/src/it/jaxb-xjc-runtime-sources/pom.xml
@@ -18,7 +18,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-install-plugin</artifactId>
-                <version>3.0.1</version>
+                <version>3.1.1</version>
                 <executions>
                     <execution>
                         <phase>initialize</phase>
@@ -37,7 +37,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.8.1</version>
+                <version>3.11.0</version>
                 <configuration>
                     <source>11</source>
                     <target>11</target>
diff --git a/maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml b/maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml
index 3abc8fcab1..38c221158a 100644
--- a/maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml
+++ b/maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml
@@ -17,7 +17,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>
-        <version>3.0.0-M3</version>
+        <version>3.3.0</version>
         <executions>
           <execution>
             <id>enforce-jdk9-of-higher</id>
@@ -60,7 +60,7 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
-        <version>1.9.1</version>
+        <version>3.4.0</version>
         <executions>
           <execution>
             <id>add-wsdl-source</id>
@@ -92,7 +92,7 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-toolchains-plugin</artifactId>
-            <version>3.0.0</version>
+            <version>3.1.0</version>
             <configuration>
               <toolchains>
                 <jdk>
diff --git a/maven-plugins/codegen-plugin/src/it/mark-generated/pom.xml b/maven-plugins/codegen-plugin/src/it/mark-generated/pom.xml
index a67e2cf61e..2dee25ce45 100644
--- a/maven-plugins/codegen-plugin/src/it/mark-generated/pom.xml
+++ b/maven-plugins/codegen-plugin/src/it/mark-generated/pom.xml
@@ -18,7 +18,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-install-plugin</artifactId>
-                <version>3.0.1</version>
+                <version>3.1.1</version>
                 <executions>
                     <execution>
                         <phase>initialize</phase>
@@ -37,7 +37,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.8.1</version>
+                <version>3.11.0</version>
                 <configuration>
                     <source>11</source>
                     <target>11</target>
diff --git a/maven-plugins/codegen-plugin/src/it/wsdl-artifact-resolution/pom.xml b/maven-plugins/codegen-plugin/src/it/wsdl-artifact-resolution/pom.xml
index b0555a899b..5f30b18605 100644
--- a/maven-plugins/codegen-plugin/src/it/wsdl-artifact-resolution/pom.xml
+++ b/maven-plugins/codegen-plugin/src/it/wsdl-artifact-resolution/pom.xml
@@ -18,7 +18,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-install-plugin</artifactId>
-                <version>3.0.1</version>
+                <version>3.1.1</version>
                 <executions>
                     <execution>
                         <phase>initialize</phase>
@@ -37,7 +37,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.8.1</version>
+                <version>3.11.0</version>
                 <configuration>
                     <source>11</source>
                     <target>11</target>
diff --git a/parent/pom.xml b/parent/pom.xml
index 6d7dbc11d6..dbdb28f124 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -583,6 +583,13 @@
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-invoker-plugin</artifactId>
                     <version>3.5.1</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.groovy</groupId>
+                            <artifactId>groovy</artifactId>
+                            <version>4.0.12</version>
+                        </dependency>
+                    </dependencies>
                 </plugin>
             </plugins>
         </pluginManagement>