desruisseaux commented on issue #1028: URL: https://github.com/apache/maven-compiler-plugin/issues/1028#issuecomment-3834609889
I think that this is a description of pull request #1027. Having more meaningful messages instead of codes is indeed desirable. I don't think that this is a duplication of the compiler messages. This is a summary. The `javac` command itself produces such summary at the end of the compilation, with a message like below: ``` Note: Some input files additionally use or override a deprecated API. Note: Some input files additionally use unchecked or unsafe operations. 100 warnings only showing the first 100 warnings, of 1678 total; use -Xmaxwarns if you would like to see more ``` The Maven Complier Plugin is doing the same thing as the standard `javac` tool, only separating the warnings by category for helping the developers to choose their `-Xlint` options if this is what they decide to do. Allowing users to control whether they want to see this summary would be nice, but it a task for logging configuration. It could be addressed by using name logger in Maven instead of injecting `org.apache.maven.api.plugin.Log`. With the recent merge of https://github.com/apache/maven/pull/11685, we can try if `System.getLogger("org.apache.maven.compiler.summary")` produces the desired effect. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
