This is an automated email from the ASF dual-hosted git repository. mthmulders pushed a commit to branch MNG-7024 in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
commit 3c41e85aedce835c77412ce78facfde8f0629f99 Author: Maarten Mulders <[email protected]> AuthorDate: Mon Nov 29 11:01:51 2021 +0100 [MNG-7024] Update docs for test --- .../test/java/org/apache/maven/it/MavenITmng7024SubdirExecution.java | 4 ++-- core-it-suite/src/test/resources/mng-7024-subfolderexecution/pom.xml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7024SubdirExecution.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7024SubdirExecution.java index ea58104..ca0a31b 100644 --- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7024SubdirExecution.java +++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7024SubdirExecution.java @@ -34,7 +34,7 @@ public class MavenITmng7024SubdirExecution extends AbstractMavenIntegrationTestC } /** - * Executing from a subdirectory, however this folder is NOT part of the rootreactor, hence should not try to bind + * Executing from a subdirectory, however this folder is NOT part of the root reactor, hence should not try to bind */ public void testShouldIgnoreModuleA() throws Exception { @@ -47,7 +47,7 @@ public class MavenITmng7024SubdirExecution extends AbstractMavenIntegrationTestC verifier1.executeGoal( "install" ); verifier1.deleteDirectory( "target" ); - FileUtils.delete( new File( testDir, "module-a/target/module-a-1.0.jar" ) ); + FileUtils.delete( new File( testDir, "module-a/target/module-a-1.0.jar" ) ); } finally { diff --git a/core-it-suite/src/test/resources/mng-7024-subfolderexecution/pom.xml b/core-it-suite/src/test/resources/mng-7024-subfolderexecution/pom.xml index 0e3af5a..003d861 100644 --- a/core-it-suite/src/test/resources/mng-7024-subfolderexecution/pom.xml +++ b/core-it-suite/src/test/resources/mng-7024-subfolderexecution/pom.xml @@ -32,8 +32,9 @@ under the License. <name>Maven Integration Test :: MNG-7024</name> <description> - If executing 'mvn package :module-b' it should NOT try to pick up module-a from the multimodule project - because module-b is not part of the rootreactor (it is a profile activated module) + When executing 'mvn package -pl :module-b', it should NOT try to pick up module-a from the multi-module project, + because module-b is not part of the root reactor. This is because module-a is a profile activated module, and + that profile was not activated. </description> <properties>
