This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new ec63dc17220 Upgrade thrift plugin and optimize codegen for go client
(#12949)
ec63dc17220 is described below
commit ec63dc1722038b5d92fdc01ef76f554af047d2d6
Author: Haonan <[email protected]>
AuthorDate: Wed Jul 17 10:52:43 2024 +0800
Upgrade thrift plugin and optimize codegen for go client (#12949)
---
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>