On 31/12/2023 21:58, Michael Osipov wrote:
Am 2023-12-31 um 21:33 schrieb Maarten Mulders:
Here's (my) last vote of the year: +1
- Maarten
PS. I noticed that with this release, both Surefire and Failsafe start
spitting out an extra message into the output that is not there in 3.2.3:
[INFO] --- surefire:3.2.4:test (default-test) @ marky ---
[INFO] Using auto detected provider
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
ShellCommandline: [/bin/sh, -c, cd '<working-directory>' &&
'<path-to-java-executable>' '-jar'
'<working-directory>/target/surefire/surefirebooter-20231231212637775_3.jar' '<working-directory>/target/surefire' '2023-12-31T21-26-37_700-jvmRun1' 'surefire-20231231212637775_1tmp' 'surefire_0-20231231212637775_2tmp']
I'm not really happy with this - I prefer my build logs to be short &
sweet and I feel this adds noise. But I do not consider it a reason to
cast a negative vote.
What you see is the result of:
D:\Entwicklung\Projekte\maven-shared-utils [(maven-shared-utils-3.3.4)
+0 ~1 -0 !]> git diff -w -U0
diff --git
a/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
b/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
index e03e905c2..b4ae25f66 100644
--- a/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
+++ b/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
@@ -396,0 +397,2 @@ public class Commandline
+ String[] cl = getShellCommandline();
+ System.out.println( "ShellCommandline: " +
Arrays.toString( cl ) );
@@ -399 +401 @@ public class Commandline
- process = Runtime.getRuntime().exec(
getShellCommandline(), environment );
+ process = Runtime.getRuntime().exec( cl, environment );
@@ -414 +416 @@ public class Commandline
- process = Runtime.getRuntime().exec(
getShellCommandline(), environment, workingDir );
+ process = Runtime.getRuntime().exec( cl, environment,
workingDir );
my local testing, but that should not arrive on your side. That is why I
am very confused about this...
I will try with a fesh local repo as well...
I downloaded the JARs only tonight, so I'm afraid it must be in the
release. But for good measure, I deleted
~/.m2/repository/org/apache/maven/surefire and tried again. The
additional output is indeed still there...
- Maarten
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org