Skip to content

KAFKA-19050: Exclude empty streams integration artifact - #23035

Open
lh0156 wants to merge 1 commit into
apache:trunkfrom
lh0156:agent/KAFKA-19050-exclude-empty-streams-artifact
Open

KAFKA-19050: Exclude empty streams integration artifact#23035
lh0156 wants to merge 1 commit into
apache:trunkfrom
lh0156:agent/KAFKA-19050-exclude-empty-streams-artifact

Conversation

@lh0156

@lh0156 lh0156 commented Aug 2, 2026

Copy link
Copy Markdown

Summary

The kafka-streams-integration-tests module has no main source files, but the release publication currently includes its empty main JAR. The module's test JAR is already useful and should remain available to downstream integration tests.

This change removes only the classifier-less main artifact from that publication while preserving the test, test-sources, sources, javadoc, and POM artifacts. Gradle Module Metadata generation is disabled for this test-only publication because Gradle rejects metadata when the main artifact from the Java component is removed.

Jira

https://issues.apache.org/jira/browse/KAFKA-19050

Testing

  • ./gradlew :streams:integration-tests:testJar :streams:integration-tests:testSrcJar :streams:integration-tests:generatePomFileForMavenJavaPublication
  • Published to an isolated temporary Maven local repository and verified that the main JAR is absent while -test.jar, -test-sources.jar, and the POM are present.
  • ./gradlew :streams:integration-tests:check -x :streams:integration-tests:test
  • ./gradlew spotlessCheck
  • git diff --check

The full integration-test suite is unchanged and was not required for this build-publication-only change.

Keep the test artifacts published while removing the empty main JAR from the streams integration tests publication. Disable Gradle module metadata for this test-only publication because it cannot represent the component after the main artifact is removed.

Generated-by: OpenAI Codex (GPT-5)
@github-actions github-actions Bot added triage PRs from the community build Gradle build or GitHub Actions small Small PRs labels Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant