Skip to content

Commit 8ed7dfa

Browse files
committed
Blah: needs to work with 3.9, 3.10 and 4
1 parent 99ff839 commit 8ed7dfa

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/test/java/org/apache/maven/buildcache/its/BuildExtensionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void skipSaving(Verifier verifier) throws VerificationException, IOException {
6060
verifier.getCliOptions().clear();
6161
verifier.addCliOption("-D" + CACHE_LOCATION_PROPERTY_NAME + "=" + tempDirectory.toAbsolutePath());
6262
verifier.addCliOption("-D" + SKIP_SAVE + "=true");
63-
verifier.addCliOption("--verbose"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
63+
verifier.addCliOption("-X"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
6464

6565
verifier.setLogFileName("../log-1.txt");
6666
verifier.executeGoal("verify");

src/test/java/org/apache/maven/buildcache/its/MandatoryCleanTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void simple(Verifier verifier) throws VerificationException, IOException {
5252
Path tempDirectory = Files.createTempDirectory("simple-mandatory-clean");
5353
verifier.getCliOptions().clear();
5454
verifier.addCliOption("-D" + CACHE_LOCATION_PROPERTY_NAME + "=" + tempDirectory.toAbsolutePath());
55-
verifier.addCliOption("--verbose"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
55+
verifier.addCliOption("-X"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
5656

5757
verifier.setLogFileName("../log-1.txt");
5858
verifier.executeGoal("verify");
@@ -100,7 +100,7 @@ void simple(Verifier verifier) throws VerificationException, IOException {
100100
void disabledViaProperty(Verifier verifier) throws VerificationException {
101101

102102
verifier.setAutoclean(false);
103-
verifier.addCliOption("--verbose"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
103+
verifier.addCliOption("-X"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
104104

105105
verifier.setLogFileName("../log-1.txt");
106106
verifier.executeGoal("verify");
@@ -120,7 +120,7 @@ void disabledViaProperty(Verifier verifier) throws VerificationException {
120120

121121
verifier.setLogFileName("../log-2.txt");
122122
verifier.getCliOptions().clear();
123-
verifier.addCliOption("--verbose"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
123+
verifier.addCliOption("-X"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
124124
// With "true", we do not change the initially expected behaviour
125125
verifier.addCliOption("-D" + CacheConfigImpl.MANDATORY_CLEAN + "=true");
126126
verifier.executeGoal("verify");
@@ -140,7 +140,7 @@ void disabledViaProperty(Verifier verifier) throws VerificationException {
140140

141141
// With "false", we remove the need for the clean phase
142142
verifier.getCliOptions().clear();
143-
verifier.addCliOption("--verbose"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
143+
verifier.addCliOption("-X"); // --debug means REMOTE DEBUGGING with Maven 4 (and always was)
144144
verifier.addCliOption("-D" + CacheConfigImpl.MANDATORY_CLEAN + "=false");
145145
verifier.setLogFileName("../log-3.txt");
146146
verifier.executeGoal("verify");

0 commit comments

Comments
 (0)