@@ -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