You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2020/05/31 13:26:00 UTC
[jira] [Created] (MSHARED-907) Output build log from script to
maven mojo log
Slawomir Jaranowski created MSHARED-907:
-------------------------------------------
Summary: Output build log from script to maven mojo log
Key: MSHARED-907
URL: https://issues.apache.org/jira/browse/MSHARED-907
Project: Maven Shared Components
Issue Type: Improvement
Components: maven-script-interpreter
Reporter: Slawomir Jaranowski
Currently only PrintStream from ExecutionLogger is propagated to interpreter.
Even we have mojo log in ExecutionLogger it is not used for logging.
In {{ScriptRunner}} we have:
{code:java}
PrintStream out = ( logger != null ) ? logger.getPrintStream() : null;
result = interpreter.evaluateScript( script, classPath, globalVariables, out ); {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)