You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/10/31 08:29:26 UTC

[iotdb] 01/01: [IOTDB-4142] Add delete generated file logic in pom of antlr

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch IOTDB-4142
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit de1f560b65c6507ccbceec3257a7a417cdce0aab
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Oct 31 16:29:08 2022 +0800

    [IOTDB-4142] Add delete generated file logic in pom of antlr
---
 antlr/pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/antlr/pom.xml b/antlr/pom.xml
index a66513db4c..5fd00be6d5 100644
--- a/antlr/pom.xml
+++ b/antlr/pom.xml
@@ -74,6 +74,23 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-clean-plugin</artifactId>
+                <configuration>
+                    <filesets>
+                        <fileset>
+                            <directory>${basedir}/gen</directory>
+                        </fileset>
+                        <fileset>
+                            <directory>${basedir}/src</directory>
+                            <includes>
+                                <include>**/*.tokens</include>
+                            </includes>
+                        </fileset>
+                    </filesets>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>