Open hohwille opened 1 week ago
I've tried to run mvn
using the latest SNAPSHOT release (2024.09.002-beta-SNAPSHOT/ide-cli-2024.09.002-beta-20240914.023359-6-windows-x64.tar.gz) using ide
on an invalid project (missing pom.xml) and got the output of mvn
and the misleading error message of IDEasy.
So it appears that the actual output of mvn
is not omitted anymore.
We still have to fix the misleading error message though.
The error reporting of the
ProcessContext
has been activated forToolCommandlet
. However, the output above is wrong:runTool
method instead of usingERROR
for ProcessContext?mvn
) is lost and not visible to the end-user. However, this is the most important information that is missing here. Seems we capture the output forProcessContext
. There can be usages ofrunTool
where this may be necessary but for this we have an extra argument. The default should not behave like this. ATTENTION: This point is now addressed by a separate issue #608The user invoked
mvn
without arguments and that gives me an error and not successful status code also if invoked withoutide
as prefix command. However, the maven output is not printed and instead this stacktrace is confusing.This is the output from maven that is missing when used via IDEasy.