You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2020/09/29 19:34:19 UTC

[incubator-nlpcraft] 01/01: Maven clean phase plugin added for deleting data folder.

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

sergeykamov pushed a commit to branch NLPCRAFT-140
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git

commit 6f78da3e183e0eb421f8319c99f4957b32eb511a
Author: Sergey Kamov <se...@apache.org>
AuthorDate: Tue Sep 29 22:34:08 2020 +0300

    Maven clean phase plugin added for deleting data folder.
---
 nlpcraft/pom.xml | 15 +++++++++++++++
 pom.xml          |  1 +
 2 files changed, 16 insertions(+)

diff --git a/nlpcraft/pom.xml b/nlpcraft/pom.xml
index e0bc1a1..9d4cded 100644
--- a/nlpcraft/pom.xml
+++ b/nlpcraft/pom.xml
@@ -270,6 +270,21 @@
 
         <plugins>
             <plugin>
+                <artifactId>maven-clean-plugin</artifactId>
+                <version>${maven.clean.plugin.ver}</version>
+                <configuration>
+                    <filesets>
+                        <fileset>
+                            <directory>${user.home}/.nlpcraft</directory>
+                            <includes>
+                                <include>**/*</include>
+                            </includes>
+                            <followSymlinks>false</followSymlinks>
+                        </fileset>
+                    </filesets>
+                </configuration>
+            </plugin>
+            <plugin>
                 <groupId>com.bazaarvoice.maven.plugins</groupId>
                 <artifactId>process-exec-maven-plugin</artifactId>
                 <version>${maven.bazaarvoice.plugin.ver}</version>
diff --git a/pom.xml b/pom.xml
index f423ec3..8a38c48 100644
--- a/pom.xml
+++ b/pom.xml
@@ -120,6 +120,7 @@
         <maven.source.plugin.ver>3.0.1</maven.source.plugin.ver>
         <maven.gpg.plugin.ver>1.6</maven.gpg.plugin.ver>
         <maven.bazaarvoice.plugin.ver>0.9</maven.bazaarvoice.plugin.ver>
+        <maven.clean.plugin.ver>3.1.0</maven.clean.plugin.ver>
         <apache.rat.plugin.ver>0.13</apache.rat.plugin.ver>
         <org.antlr4.ver>4.8</org.antlr4.ver>
         <akka.http.2.12.ver>10.2.0</akka.http.2.12.ver>