Skip to content

Add the execution of the process-aot Maven plugin goal to m2e metadata #38382

Open
@odrotbohm

Description

@odrotbohm

To make sure that sources and classes generated and compiled during the AOT phase are available to program executions in STS and Eclipse in general, it would be nice if the process-aot goal was added to the lifecycle-mapping-metadata.xml for m2e.

<pluginExecution>
	<pluginExecutionFilter>
		<goals>
			<goal>process-aot</goal>
		</goals>
	</pluginExecutionFilter>
	<action>
		<execute>
			<runOnIncremental>false</runOnIncremental>
			<runOnConfiguration>true</runOnConfiguration>
		</execute>
	</action>
</pluginExecution>

I think we'd want to avoid running the goal for incremental compilation as it might take a few ms to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions