mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-02 23:39:34 +00:00
This commit updates the Maven Plugin to tolerate projects that are using the module path on the JVM and targeting native images with AOT. Previously, the plugin compiled AOT sources directly to target/classes and the presence of a module-info there is enough to trigger a compilation on the module path. With this change we now compile in a separate directory that contains the generated AOT classes (typically CGLIB proxies). These are copied to target/classes once compilation completes already. The integration test also uses our parent, rather than relying on what Maven provides. That's because older Maven versions provide a default compiler plugin version that did not handle the module path correctly. Closes gh-33383