This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
The following commit(s) were added to refs/heads/master by this push: new 32af67c30 [MNG-7646] Fix IT broken by the change to not always read the whole reactor (#239) 32af67c30 is described below commit 32af67c3077628879b1a157753f7aa504fe18b1f Author: Guillaume Nodet <gno...@apache.org> AuthorDate: Thu Jan 26 11:42:13 2023 +0100 [MNG-7646] Fix IT broken by the change to not always read the whole reactor (#239) --- .../java/org/apache/maven/it/MavenITmng6118SubmoduleInvocation.java | 4 ++-- .../resources/mng-6118-submodule-invocation-full-reactor/pom.xml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) 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 class MavenITmng6118SubmoduleInvocation extends AbstractMavenIntegrationT { // 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 class MavenITmng6118SubmoduleInvocation extends AbstractMavenIntegrationT { // 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. <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.0.0-M7</version> + </plugin> </plugins> </pluginManagement> </build>