diff --git a/start-site/src/main/java/io/spring/start/site/extension/dependency/springgrpc/GrpcMavenBuildCustomizer.java b/start-site/src/main/java/io/spring/start/site/extension/dependency/springgrpc/GrpcMavenBuildCustomizer.java index d5e2fad0e1..a7a021c727 100644 --- a/start-site/src/main/java/io/spring/start/site/extension/dependency/springgrpc/GrpcMavenBuildCustomizer.java +++ b/start-site/src/main/java/io/spring/start/site/extension/dependency/springgrpc/GrpcMavenBuildCustomizer.java @@ -79,8 +79,10 @@ private void addProtobufPlugin(MavenPluginContainer plugins, VersionProperty pro }); plugin.execution("compile", (execution) -> { execution.goal("compile").goal("compile-custom"); - execution.configuration((configuration) -> configuration.add("pluginParameter", "jakarta_omit")); - execution.configuration((configuration) -> configuration.add("pluginParameter", "@generated=omit")); + execution.configuration((configuration) -> { + configuration.add("pluginParameter", "jakarta_omit"); + configuration.add("pluginParameter", "@generated=omit"); + }); }); }); }