desruisseaux commented on PR #160:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/160#issuecomment-2072026430

   The use of Eclipse compiler would not be mandated. If no tool chain or 
`compilerId` parameter is specified, the plugin uses whatever compiler is 
returned by `ToolProvider.getSystemJavaCompiler()`. The Eclipse compiler was 
mentioned only for saying that its use should still be possible.
   
   The `JavaCompiler` API seems to have some support for giving the output 
files with `JavaFileManager.getJavaFileForOutput(StandardLocation.CLASS_OUTPUT, 
<class name>, JavaFileObject.Kind.CLASS, <source file>)` (I just tested it). 
However, it does not return the `*.class` files for inner (nested) classes, so 
some heuristic would still be needed.


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to