commit | 32af67c3077628879b1a157753f7aa504fe18b1f | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Thu Jan 26 11:42:13 2023 +0100 |
committer | GitHub <noreply@github.com> | Thu Jan 26 11:42:13 2023 +0100 |
tree | cdc7c78bc9e72c6c1f2781799c2468d5e6a4050b | |
parent | d39b1967ad36af08359cb9530d0b74314089a167 [diff] |
[MNG-7646] Fix IT broken by the change to not always read the whole reactor (#239)
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 9a6fb16..85de17d 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 @@ { // 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 @@ { // 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 b894cbc..6dedae7 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 @@ <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>