Skip to content

Commit

Permalink
Polish "Use @generated=omit when configuring gRPC plugins"
Browse files Browse the repository at this point in the history
  • Loading branch information
mhalbritter committed Dec 19, 2024
1 parent 6e2be02 commit 3f286a8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
});
});
}
Expand Down

0 comments on commit 3f286a8

Please sign in to comment.