You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by sm...@apache.org on 2021/03/22 07:37:39 UTC

[incubator-nlpcraft] branch master updated: Fix Maven build failure (add custom 'testResources' location).

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

smakov 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 e1d24fb  Fix Maven build failure (add custom 'testResources' location).
e1d24fb is described below

commit e1d24fb64fefa7966f8043075d747bb579a587d0
Author: smakov <sm...@apache.org>
AuthorDate: Mon Mar 22 10:37:14 2021 +0300

    Fix Maven build failure (add custom 'testResources' location).
---
 nlpcraft/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/nlpcraft/pom.xml b/nlpcraft/pom.xml
index 46a332a..c0c4dcd 100644
--- a/nlpcraft/pom.xml
+++ b/nlpcraft/pom.xml
@@ -278,6 +278,27 @@
             </resource>
         </resources>
 
+        <testResources>
+            <testResource>
+                <directory>src/test/scala</directory>
+                <includes>
+                    <include>**/*.txt</include>
+                    <include>**/*.json</include>
+                    <include>**/*.nc</include>
+                    <include>**/*.idl</include>
+                    <include>**/*.yaml</include>
+                    <include>**/*.sql</include>
+                    <include>**/*.properties</include>
+                </includes>
+            </testResource>
+            <testResource>
+                <directory>src/test/resources</directory>
+                <includes>
+                    <include>**/*.*</include>
+                </includes>
+            </testResource>
+        </testResources>
+
         <plugins>
             <plugin>
                 <artifactId>maven-clean-plugin</artifactId>