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

haonan pushed a commit to branch upgrade_thrift_plugin
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 33819639eb8daa533a2dad2e82dd78c9359ae513
Author: HTHou <[email protected]>
AuthorDate: Wed Jul 17 09:45:10 2024 +0800

    Upgrade thrift plugin and optimize codegen for go client
---
 pom.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1d18212af7b..bc62daccb76 100644
--- a/pom.xml
+++ b/pom.xml
@@ -939,9 +939,9 @@
                     <version>3.6.0</version>
                 </plugin>
                 <plugin>
-                    <groupId>org.apache.thrift.tools</groupId>
-                    <artifactId>maven-thrift-plugin</artifactId>
-                    <version>0.1.11</version>
+                    <groupId>org.apache.thrift</groupId>
+                    <artifactId>thrift-maven-plugin</artifactId>
+                    <version>0.10.0</version>
                 </plugin>
                 <plugin>
                     <groupId>com.bazaarvoice.maven.plugins</groupId>
@@ -1608,8 +1608,8 @@
                         </executions>
                     </plugin>
                     <plugin>
-                        <groupId>org.apache.thrift.tools</groupId>
-                        <artifactId>maven-thrift-plugin</artifactId>
+                        <groupId>org.apache.thrift</groupId>
+                        <artifactId>thrift-maven-plugin</artifactId>
                         <configuration>
                             
<thriftExecutable>${thrift.exec.absolute.path}</thriftExecutable>
                             
<thriftSourceRoot>${project.basedir}/src/main/thrift</thriftSourceRoot>
@@ -1644,7 +1644,7 @@
                                 </goals>
                                 <phase>generate-sources</phase>
                                 <configuration>
-                                    <generator>go</generator>
+                                    
<generator>go:package_prefix=github.com/apache/iotdb-client-go/</generator>
                                     
<includes>**/common.thrift,**/client.thrift</includes>
                                     
<outputDirectory>${project.build.directory}/generated-sources-go</outputDirectory>
                                 </configuration>

Reply via email to