Skip to content

Commit

Permalink
[tsql] Flag generated lexer as generated (#5347)
Browse files Browse the repository at this point in the history
Merge pull request #5347 from Monits:fix-generated-code-tsql
  • Loading branch information
adangel committed Nov 22, 2024
2 parents 9f3679d + fed1281 commit b6e7615
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pmd-tsql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,27 @@
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>antlr-cleanup</id>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<ant antfile="${antlr4.ant.wrapper}" target="cpd-language">
<property name="lang-name" value="TSql" />
<property name="lang-id" value="tsql" />
</ant>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
Expand Down

0 comments on commit b6e7615

Please sign in to comment.