mirror of https://github.com/apache/iotdb
generate cpp, go, and python thrift files under service-rpc (#445)
This commit is contained in:
parent
4ea7bcca38
commit
7f48ffe7ef
45
pom.xml
45
pom.xml
|
@ -912,7 +912,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>
|
||||
|
@ -923,6 +923,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>
|
||||
|
|
Loading…
Reference in New Issue