diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6118SubmoduleInvocation.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6118SubmoduleInvocation.java
index 9a6fb1665..85de17dbb 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6118SubmoduleInvocation.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6118SubmoduleInvocation.java
@@ -61,7 +61,7 @@ public void testInSubModule() throws Exception
{
// Compile the whole project first.
Verifier verifier = newVerifier( testDir.getAbsolutePath() );
- verifier.addCliArgument( "compile" );
+ verifier.addCliArgument( "package" );
verifier.execute();
final File submoduleDirectory = new File( testDir, "app" );
@@ -82,7 +82,7 @@ public void testWithFile() throws Exception
{
// Compile the whole project first.
Verifier verifier = newVerifier( testDir.getAbsolutePath() );
- verifier.addCliArgument( "compile" );
+ verifier.addCliArgument( "package" );
verifier.execute();
verifier = newVerifier( testDir.getAbsolutePath() );
diff --git a/core-it-suite/src/test/resources/mng-6118-submodule-invocation-full-reactor/pom.xml b/core-it-suite/src/test/resources/mng-6118-submodule-invocation-full-reactor/pom.xml
index b894cbced..6dedae729 100644
--- a/core-it-suite/src/test/resources/mng-6118-submodule-invocation-full-reactor/pom.xml
+++ b/core-it-suite/src/test/resources/mng-6118-submodule-invocation-full-reactor/pom.xml
@@ -60,6 +60,11 @@ under the License.
maven-compiler-plugin
3.10.1
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.0.0-M7
+