Skip to content

Commit

Permalink
Revert "disable"
Browse files Browse the repository at this point in the history
This reverts commit 886aa79.
  • Loading branch information
kgyrtkirk committed May 28, 2024
1 parent 886aa79 commit 5997aa9
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions sql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -353,19 +353,27 @@
<version>${calcite.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/calcite-base-parser</outputDirectory>
<includes>codegen/**</includes>
<outputDirectory>${project.build.directory}/</outputDirectory>
<includes>**/Parser.jj</includes>
</artifactItem>
<artifactItem>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>${calcite.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/</outputDirectory>
<includes>**/default_config.fmpp</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>


<!-- Copy the templates present in the codegen directory of druid-sql containing custom SQL rules to
${project.build.directory}/codegen -->
<!-- <plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
Expand All @@ -385,7 +393,7 @@
</configuration>
</execution>
</executions>
</plugin> -->
</plugin>

<!-- "Plugs in" the Calcite's Parser.jj with the variables present in config.fmpp. These contain the custom rules
as well as the class to which the custom implementation will get generated -->
Expand All @@ -400,12 +408,9 @@
<goal>generate</goal>
</goals>
<configuration>
<!-- <cfgFile>${project.build.directory}/codegen/config.fmpp</cfgFile>
<cfgFile>${project.build.directory}/codegen/config.fmpp</cfgFile>
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
<templateDirectory>${project.build.directory}/codegen/templates</templateDirectory> -->
<cfgFile>src/main/codegen/config.fmpp</cfgFile>
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
<templateDirectory>src/main/codegen/templates</templateDirectory>
<templateDirectory>${project.build.directory}/codegen/templates</templateDirectory>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -441,7 +446,7 @@
doesn't contain any hook for extension. For the custom changes done in
extension, please check from.ftl file in sql module.
-->
<!-- <plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.3</version>
Expand All @@ -465,7 +470,7 @@
</replacement>
</replacements>
</configuration>
</plugin> -->
</plugin>

<!-- Adds the path of the generated parser to the build path -->
<plugin>
Expand Down

0 comments on commit 5997aa9

Please sign in to comment.