[
https://issues.apache.org/jira/browse/MCOMPILER-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289841#comment-17289841
]
Delany commented on MCOMPILER-456:
----------------------------------
I found the javac non-standard argument to redirect stdout. But the default
compiler won't accept it, and I have to fork the build
{code:java}
<configuration>
<fork>true</fork>
<compilerArgs combine.children="append">
<arg>-Xstdout</arg>
<arg>${project.build.directory}/javac.log</arg>
</compilerArgs>
</configuration>
{code}
This increases the build time of my 500 module reactor from 5min to 20min.
Should this rather be a "fork compiler once for reactor" ticket?
> Create a log file and show effective arguments
> ----------------------------------------------
>
> Key: MCOMPILER-456
> URL: https://issues.apache.org/jira/browse/MCOMPILER-456
> Project: Maven Compiler Plugin
> Issue Type: New Feature
> Affects Versions: 3.8.1
> Reporter: Delany
> Priority: Major
>
> Allow configuration of a log file for compilation only output, like surefire
> plugin does. The log file should also include arguments passed to the
> compiler.
> MSbuild has extensive options, like multiple loggers that might be worth
> adding
> [https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-command-line-reference?view=vs-2019|http://example.com]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)