Repository: maven-integration-testing
Updated Branches:
  refs/heads/master 1797b9ec1 -> d2b9d890e


[MNG-5753] support IT re-run without cleaning

Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/207ee9cb
Tree: 
http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/207ee9cb
Diff: 
http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/207ee9cb

Branch: refs/heads/master
Commit: 207ee9cb78f556a84e01adb93e1cf165d1fec5d1
Parents: 1797b9e
Author: Hervé Boutemy <hbout...@apache.org>
Authored: Thu Feb 8 22:35:05 2018 +0100
Committer: Hervé Boutemy <hbout...@apache.org>
Committed: Thu Feb 8 22:35:05 2018 +0100

----------------------------------------------------------------------
 .../it/MavenITmng5753CustomMojoExecutionConfiguratorTest.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/207ee9cb/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5753CustomMojoExecutionConfiguratorTest.java
----------------------------------------------------------------------
diff --git 
a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5753CustomMojoExecutionConfiguratorTest.java
 
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5753CustomMojoExecutionConfiguratorTest.java
index 1f520dc..4888f1c 100644
--- 
a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5753CustomMojoExecutionConfiguratorTest.java
+++ 
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5753CustomMojoExecutionConfiguratorTest.java
@@ -48,13 +48,15 @@ public class 
MavenITmng5753CustomMojoExecutionConfiguratorTest
         verifier.resetStreams();
         verifier.verifyErrorFreeLog();
 
+        File configurationFile = new File(projectDir, "configuration.txt");
+        configurationFile.delete();
+
         // build the test project
         verifier = newVerifier( projectDir.getAbsolutePath(), "remote" );
         verifier.executeGoal( "validate" );
         verifier.resetStreams();
         verifier.verifyErrorFreeLog();
         
-        File configurationFile = new File(projectDir, "configuration.txt");
         verifier.assertFilePresent( configurationFile.getCanonicalPath() );
         //
         // The <name/> element in the original configuration is "ORIGINAL". We 
want to assert that our

Reply via email to