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.