lh0156 opened a new pull request, #23035:
URL: https://github.com/apache/kafka/pull/23035

   ## 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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to