When compiling the sources generated by AOT processing, the process-aot
and 'process-test-aot' Maven goals should invoke the Java compiler with the same source and target Java release as the Maven compiler plugin to ensure compatibility of the generated class files.