Allow AOT generated classes to be excluded from code analyzer tools #30824
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
Problem
AOT generated classes are being picked-up by code analyzer tools such as jacoco.
Currently, there's no unified naming pattern or annotation markup to differentiate the generated classes from the regular ones, making it difficult to configure the code analyzer tools to skip generated classes.
I could identify the following patterns (not sure if there are others):
Possible Solutions
Configuration could be exposed to spring-boot:process-aot maven plugin.
Workaround
Following exclusion patterns seems to work for jacoco-maven-plugin, not sure if it fits all AOT cases:
The text was updated successfully, but these errors were encountered: