forked from apache/maven-compiler-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Martin Desruisseaux edited this page Apr 13, 2024
·
11 revisions
This is a proposed rewriting of the Maven compiler plugin.
This work is for Maven 4 only, the plugin for Maven 3 will stay unaffected.
This work modifies the implementation for using the standard javax.tools.JavaCompiler interface instead of the Plexus compiler.
That interface is part of standard JDK since Java 6.
One reason for the switch is that the javax.tools.JavaCompiler interface has some methods needed for better support of Java modules.
The standard interface also has a cache mechanism that may bring performance improvements when compiling more than one set of sources, e.g. for multi-versions.
It also opens the door for handling source and classes that are not files, for example by doing everything in memory.