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

khmarbaise pushed a commit to branch MRESOURCES-242
in repository https://gitbox.apache.org/repos/asf/maven-resources-plugin.git

commit 92395368f8f6511adafdcae3453d33e630f05c1a
Author: Karl Heinz Marbaise <khmarba...@apache.org>
AuthorDate: Thu Feb 22 20:05:47 2018 +0100

    [MRESOURCES-242] - Fix integration test include-git-ignore
     o The test has not correctly created the src/main/resources
       directory.
---
 src/it/include-git-ignore/setup.bsh | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/it/include-git-ignore/setup.bsh 
b/src/it/include-git-ignore/setup.bsh
index 800c1aa..2ddd3c1 100644
--- a/src/it/include-git-ignore/setup.bsh
+++ b/src/it/include-git-ignore/setup.bsh
@@ -25,7 +25,12 @@ boolean result = true;
 
 try
 {
-    File resources = new File( basedir, "src/main/resources" );
+    File resources = new File( basedir, "src/main/resources/" );
+    if ( !resources.mkdirs() ) {
+      System.out.println ( "Failed to create src/main/resources directory." );
+      result = false;
+    }
+
     File gitIgnore = new File ( resources, ".gitignore" );
 
 
@@ -54,10 +59,10 @@ catch( IOException e )
 
 try
 {
-    File resources = new File( basedir, "src/main/resources/dir-with-dot-file" 
);
+    File resources = new File( basedir, 
"src/main/resources/dir-with-dot-file/" );
 
     if ( !resources.mkdirs() ) {
-      System.out.println ( "Failed to created dir-with-dot-file folder." );
+      System.out.println ( "Failed to create dir-with-dot-file folder." );
       result = false;
     }
     File gitIgnore = new File ( resources, ".gitignore" );

-- 
To stop receiving notification emails like this one, please contact
khmarba...@apache.org.

Reply via email to