You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/02/22 19:06:50 UTC

[maven-resources-plugin] branch MRESOURCES-242 created (now 9239536)

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

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


      at 9239536  [MRESOURCES-242] - Fix integration test include-git-ignore  o The test has not correctly created the src/main/resources    directory.

This branch includes the following new commits:

     new 9239536  [MRESOURCES-242] - Fix integration test include-git-ignore  o The test has not correctly created the src/main/resources    directory.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

[maven-resources-plugin] 01/01: [MRESOURCES-242] - Fix integration test include-git-ignore o The test has not correctly created the src/main/resources directory.

Posted by kh...@apache.org.
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 <kh...@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
khmarbaise@apache.org.