From acef3ae0bb06970c8b5136317286a588acbbac9f Mon Sep 17 00:00:00 2001 From: Dave Mihalcik Date: Thu, 15 Oct 2026 13:01:15 -0400 Subject: [PATCH] fix(sdk): don't re-run codegen when attaching sources maven-source-plugin's `jar` goal forks the lifecycle through generate-sources, so every build ran the antrun `buf generate` execution twice. Each run hits buf.build (BSR) for remote plugins and module deps, and in xtest CI the second pass is what tripped BSR rate limits. `jar-no-fork` packages the source roots the main lifecycle already registered; the sources jar contents are unchanged. DSPX-5177 Signed-off-by: Dave Mihalcik --- pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index abf3411f..d026a15c 100644 --- a/pom.xml +++ b/pom.xml @@ -237,7 +237,9 @@ attach-sources - jar + + jar-no-fork