fix(bom): skip deployment of bom-generator-plugin#7440
Merged
manusa merged 1 commit intofabric8io:mainfrom Feb 17, 2026
Merged
Conversation
The bom-generator-plugin is an internal build tool that should not be published to Maven Central. During snapshot releases, the plugin was being deployed early in the build, causing checksum validation failures when later modules tried to resolve its metadata due to Sonatype Central replication delays. This complements commit 5552acd which excluded the plugin from generated BOMs. That fix prevented the plugin from appearing as a BOM dependency, but didn't prevent the plugin itself from being deployed. Adding maven.deploy.skip=true follows the same pattern used by other internal modules (tekton/examples, karaf/itests, chaos-tests). Fixes: https://github.com/fabric8io/kubernetes-client/actions/runs/22090965078 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
maven.deploy.skip=truetobom-generator-pluginto prevent it from being deployed to Maven CentralProblem
The snapshot release workflow continues to fail with checksum validation errors when publishing:
Failing run: https://github.com/fabric8io/kubernetes-client/actions/runs/22090965078
Root Cause
PR #7439 excluded
bom-generator-pluginfrom the generated BOMs, but the plugin itself was still being deployed. During the ~50 minute build:bom-generator-plugingets deployed early in the buildkubernetes-client-bom-with-depsis published, thecentral-publishing-maven-plugintries to verify metadata for all artifactsbom-generator-plugin'smaven-metadata.xmldoesn't matchSolution
Add
<maven.deploy.skip>true</maven.deploy.skip>tobom-generator-plugin/pom.xml. This is the standard pattern used by other internal modules:extensions/tekton/examplesplatforms/karaf/itestschaos-testsThe
bom-generator-pluginis an internal build tool and doesn't need to be published to Maven Central.Test plan
🤖 Generated with Claude Code