Le 2024-07-23 à 10 h 50, András Péteri a écrit :

Class "org.eclipse.jdt.internal.compiler.tool.EclipseCompiler" does implement this interface (…snip…) name() is a default method on javax.tools.Tool and this implementation leaves it as-is, so it will return an empty String.

Looks good. I also see that this compiler is declared in META-INF:

https://github.com/eclipse-jdt/eclipse.jdt.core/blob/8e630b6c235edaf7d6e757442b1ee2c5761b6021/org.eclipse.jdt.core.compiler.batch/META-INF/services/javax.tools.JavaCompiler

Then a pull request for adding a name() method returning (I guess) "ecj" should be everything needed. Putting the Eclipse JAR file on the class-path at maven-compiler-plugin execution time would be sufficient for making this compiler available.

    Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to