{"action":"closed","issue":{"url":"https://api.github.com/repos/codehaus-plexus/plexus-compiler/issues/20","repository_url":"https://api.github.com/repos/codehaus-plexus/plexus-compiler","labels_url":"https://api.github.com/repos/codehaus-plexus/plexus-compiler/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/codehaus-plexus/plexus-compiler/issues/20/comments","events_url":"https://api.github.com/repos/codehaus-plexus/plexus-compiler/issues/20/events","html_url":"https://github.com/codehaus-plexus/plexus-compiler/issues/20","id":150475648,"number":20,"title":"No verbose output when fork option is used","user":{"login":"Tunaki","id":2684685,"avatar_url":"https://avatars.githubusercontent.com/u/2684685?v=3","gravatar_id":"","url":"https://api.github.com/users/Tunaki","html_url":"https://github.com/Tunaki","followers_url":"https://api.github.com/users/Tunaki/followers","following_url":"https://api.github.com/users/Tunaki/following{/other_user}","gists_url":"https://api.github.com/users/Tunaki/gists{/gist_id}","starred_url":"https://api.github.com/users/Tunaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tunaki/subscriptions","organizations_url":"https://api.github.com/users/Tunaki/orgs","repos_url":"https://api.github.com/users/Tunaki/repos","events_url":"https://api.github.com/users/Tunaki/events{/privacy}","received_events_url":"https://api.github.com/users/Tunaki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-04-22T21:32:27Z","updated_at":"2016-06-25T12:39:36Z","closed_at":"2016-06-25T12:39:36Z","body":"This is triggered by the Stack Overflow question [No verbose output when fork option is used for maven-compiler-plugin](http://stackoverflow.com/q/36801525/1743880).\r\n\r\nThe `JavacCompiler` is ignoring the standard output of the javac executable (thus ignoring the verbose configuration) when used in forked mode.\r\n\r\nThis is because in the method `compileOutOfProcess`, the `CommandLineUtils.StringStreamConsumer out` variable populated with the standard output is ignored when populating the resulting messages:\r\n\r\n    returnCode = CommandLineUtils.executeCommandLine( cli, out, err );\r\n\r\n    messages = parseModernStream( returnCode, new BufferedReader( new StringReader( err.getOutput() ) ) );\r\n\r\nAs suggested fix, the `parseModernStream` method should take both the result of the error output and standard output.\r\n"}}
{"actor":{"display_login":"rfscholte"}}