You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2022/03/04 07:32:28 UTC

[iotdb] branch master updated: [IOTDB-2579] fixed mvn clean can not clean folder "grafana-plugin" (#5103)

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

rong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new a1627f3  [IOTDB-2579] fixed mvn clean can not clean folder "grafana-plugin" (#5103)
a1627f3 is described below

commit a1627f3cbd8af625e2cbff4f2925ca3767258388
Author: CloudWise-Lukemiao <76...@users.noreply.github.com>
AuthorDate: Fri Mar 4 15:31:50 2022 +0800

    [IOTDB-2579] fixed mvn clean can not clean folder "grafana-plugin" (#5103)
---
 grafana-plugin/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/grafana-plugin/pom.xml b/grafana-plugin/pom.xml
index 0872c29a..6986a1e 100644
--- a/grafana-plugin/pom.xml
+++ b/grafana-plugin/pom.xml
@@ -94,6 +94,26 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-clean-plugin</artifactId>
+                        <configuration>
+                            <filesets>
+                                <fileset>
+                                    <directory>${basedir}/node</directory>
+                                </fileset>
+                                <fileset>
+                                    <directory>${basedir}/node_modules</directory>
+                                </fileset>
+                                <fileset>
+                                    <directory>${basedir}/dist</directory>
+                                </fileset>
+                                <fileset>
+                                    <directory>${basedir}/coverage</directory>
+                                </fileset>
+                            </filesets>
+                        </configuration>
+                    </plugin>
                 </plugins>
             </build>
         </profile>