Skip to content

Decouple aot-generate from the abstraction used to run an application #31682

@snicoll

Description

@snicoll

Brainstorming with @wilkinsona it became apparent that the AotGenerateMojo should not inherit from the same hierarchy as the one used to run the application. One problem is the spring-boot.run prefix used for command-line properties. Another is that it is hard to document those properties for both use cases.

We'd need to extract the logic to prepare the forked process in a separate class, which should reduce the complexity of the mojo implementations. This should address #31578 as well.

Metadata

Metadata

Assignees

Labels

theme: aotAn issue related to Ahead-of-time processingtype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions