diff options
Diffstat (limited to 'sql/hive/pom.xml')
-rw-r--r-- | sql/hive/pom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sql/hive/pom.xml b/sql/hive/pom.xml index e9885f6682..ffabb92179 100644 --- a/sql/hive/pom.xml +++ b/sql/hive/pom.xml @@ -232,6 +232,7 @@ <configuration> <sources> <source>v${hive.version.short}/src/main/scala</source> + <source>${project.build.directory/generated-sources/antlr</source> </sources> </configuration> </execution> @@ -260,6 +261,27 @@ </execution> </executions> </plugin> + + + <plugin> + <groupId>org.antlr</groupId> + <artifactId>antlr3-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>antlr</goal> + </goals> + </execution> + </executions> + <configuration> + <sourceDirectory>${basedir}/src/main/antlr3</sourceDirectory> + <includes> + <include>**/SparkSqlLexer.g</include> + <include>**/SparkSqlParser.g</include> + </includes> + </configuration> + </plugin> + </plugins> </build> </project> |