This is an automated email from the ASF dual-hosted git repository. hxd pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 0198f5c34a95ee8cffad2df68ca78073eb1fd05b Author: Eric Pai <[email protected]> AuthorDate: Tue Mar 9 19:00:51 2021 +0800 Add generated-sources as source folder --- antlr/pom.xml | 19 +++++++++++++++++++ thrift/pom.xml | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/antlr/pom.xml b/antlr/pom.xml index 8ecdb6e..3f1cd44 100644 --- a/antlr/pom.xml +++ b/antlr/pom.xml @@ -54,6 +54,25 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.2.0</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>${project.build.directory}/generated-sources/antlr4</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </project> diff --git a/thrift/pom.xml b/thrift/pom.xml index 989bf85..7a0e2c6 100644 --- a/thrift/pom.xml +++ b/thrift/pom.xml @@ -74,6 +74,25 @@ </archive> </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.2.0</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>${project.build.directory}/generated-sources/thrift</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </project>
