Skip to content

Commit 3cf949b

Browse files
committed
Merge remote-tracking branch 'upstream/master' into type-derive-simpler
2 parents 24e1d4d + a46b0c7 commit 3cf949b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6256SpecialCharsAlternatePOMLocation.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
* This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-6256">MNG-6256</a>: check that directories
2727
* passed via <code>-f/--file</code> containing special characters do not break the script. E.g
2828
* <code>-f "directoryWithClosing)Bracket/pom.xml"</code>.
29+
*
30+
* This IT manually manages {@code .mvn} directories, so instructs Verifier to NOT create any.
2931
*/
3032
public class MavenITmng6256SpecialCharsAlternatePOMLocation extends AbstractMavenIntegrationTestCase {
3133

@@ -65,7 +67,7 @@ private void runCoreExtensionWithOption(String option, String subDir) throws Exc
6567
File testDir = new File(resourceDir, "../mng-6256-" + subDir);
6668
testDir.mkdir();
6769

68-
Verifier verifier = newVerifier(testDir.getAbsolutePath());
70+
Verifier verifier = newVerifier(testDir.getAbsolutePath(), false);
6971
verifier.addCliArgument(option); // -f/--file
7072
verifier.addCliArgument("\"" + new File(resourceDir, subDir).getAbsolutePath() + "\""); // "<path>"
7173
verifier.addCliArgument("validate");

its/core-it-suite/src/test/resources/mng-6256-special-chars-alternate-pom-location/.mvn/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)