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/10/10 06:28:56 UTC

[incubator-nlpcraft] branch master updated: 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 master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/master by this push:
     new 49b8e26  Maven clean phase plugin added for deleting data folder.
49b8e26 is described below

commit 49b8e26eab066eb1c30b9e03fda8bdee26922c84
Author: Sergey Kamov <se...@apache.org>
AuthorDate: Sat Oct 10 09:28:50 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 9126292..5608abb 100644
--- a/nlpcraft/pom.xml
+++ b/nlpcraft/pom.xml
@@ -278,6 +278,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 7f24188..7a745ca 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>