You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mt...@apache.org on 2021/11/29 10:09:54 UTC
[maven-integration-testing] 02/02: [MNG-7024] Update docs for test
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 0735bad2039d41913b213f49e5ebea8b6d01aad0
Author: Maarten Mulders <mt...@apache.org>
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..600b6cf 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' from within the module-b directory, it should NOT try to pick up module-a from the
+ multi-module project. This is because module-b is not part of the root reactor, as it is a profile activated
+ module, and that profile was not activated.
</description>
<properties>