This is an automated email from the ASF dual-hosted git repository. hxd pushed a commit to branch generate-more-thrift-languages in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit ca15d7d0f5ba1b19728f688d7de239b307b07f83 Author: xiangdong huang <saint...@gmail.com> AuthorDate: Fri Oct 11 15:11:12 2019 +0800 generate cpp, go, and python thrift files under service-rpc --- pom.xml | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 164cc6c..a4e47f2 100644 --- a/pom.xml +++ b/pom.xml @@ -886,7 +886,7 @@ <version>0.1.11</version> <executions> <execution> - <id>generate-thrift-sources</id> + <id>generate-thrift-sources-java</id> <phase>generate-sources</phase> <goals> <goal>compile</goal> @@ -897,6 +897,49 @@ <thriftSourceRoot>${basedir}/src/main/thrift</thriftSourceRoot> </configuration> </execution> + + <execution> + <id>generate-thrift-sources-python</id> + <phase>generate-sources</phase> + <goals> + <goal>compile</goal> + </goals> + <configuration> + <generator>py</generator> + <thriftExecutable>${thrift.exec.absolute.path}</thriftExecutable> + <thriftSourceRoot>${basedir}/src/main/thrift</thriftSourceRoot> + <outputDirectory>${project.build.directory}/generated-sources-python</outputDirectory> + </configuration> + </execution> + + <execution> + <id>generate-thrift-sources-go</id> + <phase>generate-sources</phase> + <goals> + <goal>compile</goal> + </goals> + <configuration> + <generator>go</generator> + <thriftExecutable>${thrift.exec.absolute.path}</thriftExecutable> + <thriftSourceRoot>${basedir}/src/main/thrift</thriftSourceRoot> + <outputDirectory>${project.build.directory}/generated-sources-go</outputDirectory> + </configuration> + </execution> + + <execution> + <id>generate-thrift-sources-cpp</id> + <phase>generate-sources</phase> + <goals> + <goal>compile</goal> + </goals> + <configuration> + <generator>cpp</generator> + <thriftExecutable>${thrift.exec.absolute.path}</thriftExecutable> + <thriftSourceRoot>${basedir}/src/main/thrift</thriftSourceRoot> + <outputDirectory>${project.build.directory}/generated-sources-cpp</outputDirectory> + </configuration> + </execution> + </executions> </plugin> </plugins>