Skip to content

Execution-specific build image configuration examples in Maven plugin docs can be misleading #19946

@wilkinsona

Description

@wilkinsona

When the configuration is declared on an execution rather than on the plugin as a whole, it only affects that specific execution. Crucially, it means that it you run ./mvnw spring-boot:build-image the configuration has no effect. We should perhaps show the configuration being applied to the whole plugin, or at least document the subtleties of Maven's behaviour here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions