You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sc...@apache.org on 2015/12/21 02:46:14 UTC

[2/2] maven-integration-testing git commit: [MNG-5581] Provide a way to customize lifecycle mapping logic

[MNG-5581] Provide a way to customize lifecycle mapping logic

o Updated to make test work with Maven >= 3.4.


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/0fdf7c28
Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/0fdf7c28
Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/0fdf7c28

Branch: refs/heads/master
Commit: 0fdf7c282a2916a03ea612c3aa43df400b3f6a51
Parents: 2e10d60
Author: Christian Schulte <sc...@apache.org>
Authored: Mon Dec 21 02:43:11 2015 +0100
Committer: Christian Schulte <sc...@apache.org>
Committed: Mon Dec 21 02:43:11 2015 +0100

----------------------------------------------------------------------
 .../apache/maven/it/MavenITmng5581LifecycleMappingDelegate.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/0fdf7c28/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5581LifecycleMappingDelegate.java
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5581LifecycleMappingDelegate.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5581LifecycleMappingDelegate.java
index f923550..5facdec 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5581LifecycleMappingDelegate.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5581LifecycleMappingDelegate.java
@@ -62,7 +62,8 @@ public class MavenITmng5581LifecycleMappingDelegate
         verifier.verifyErrorFreeLog();
 
         // run custom "test-only" build phase
-        verifier.executeGoal( "test-only" );
+        // See MNG-5359 for why the default lifecycle needs to be run as well.
+        verifier.executeGoal( "validate test-only" );
         verifier.resetStreams();
         verifier.verifyErrorFreeLog();
         verifier.verifyTextInLog( "maven-surefire-plugin" );