Skip to content

Commit

Permalink
disable
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed May 28, 2024
1 parent 4e1de50 commit 886aa79
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions sql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -353,27 +353,19 @@
<version>${calcite.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<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>
<outputDirectory>${project.build.directory}/calcite-base-parser</outputDirectory>
<includes>codegen/**</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 @@ -393,7 +385,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 @@ -408,9 +400,12 @@
<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>
<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>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -446,7 +441,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 @@ -470,7 +465,7 @@
</replacement>
</replacements>
</configuration>
</plugin>
</plugin> -->

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

0 comments on commit 886aa79

Please sign in to comment.