Open sos-jira-migration-bot[bot] opened 1 year ago
Slawomir Jaranowski commented
We should update documentation about this options, currently we have:
false (not recommended) this only compiles source files which are newer than their corresponding class files, namely which have changed since the last compilation. This does not recompile other classes which use the changed class, potentially leaving them with references to methods that no longer exist, leading to errors at runtime.
Jorge Solórzano opened MCOMPILER-563 and commented
The property maven.compiler.useIncrementalCompilation has the unfortunate name that makes it believe that Maven is using "incremental" source code compilation.
People always believe that this compiles only the single class or source code that has changed when the reality is that it only is used to detect changes and recompile the full Maven project/module.
The proposal would be to deprecate this property now and rename it in the 4.0 branch to something like maven.compiler.rebuildDetection.
Affects: 3.11.0
Issue Links: