Skip to content

Add maven-assembly-plugin, maven-source-plugin, and dokka-maven-plugi…#471

Merged
ag-ramachandran merged 1 commit intomasterfrom
users/tanmayapanda/fix-ingest-v2-release-artifacts
Apr 7, 2026
Merged

Add maven-assembly-plugin, maven-source-plugin, and dokka-maven-plugi…#471
ag-ramachandran merged 1 commit intomasterfrom
users/tanmayapanda/fix-ingest-v2-release-artifacts

Conversation

@tanmaya-panda1
Copy link
Copy Markdown
Collaborator

This pull request enhances the build and release process for the ingest-v2 module by introducing new Maven plugins and updating the release workflow to generate and publish additional artifact types, including a "jar-with-dependencies," source jar, and Javadoc jar. These changes improve artifact distribution and documentation.

Build and artifact generation improvements:

  • Added the maven-assembly-plugin to ingest-v2/pom.xml to automatically create a "jar-with-dependencies" during the package phase, enabling easier distribution of a standalone jar with all dependencies included.
  • Added the maven-source-plugin to generate and attach a sources jar during the verify phase, improving source code availability for consumers.
  • Added the dokka-maven-plugin for generating and attaching a Javadoc jar using Dokka, enhancing documentation for Kotlin code.
  • Introduced a dokka.version property for managing the Dokka plugin version.

Release workflow updates:

  • Updated .github/workflows/release.yml to upload the new "jar-with-dependencies" artifact for kusto-ingest-v2 as part of the release process.

Comment thread ingest-v2/pom.xml
Comment thread .github/workflows/release.yml
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Test Results

531 tests  ±0   522 ✅ ±0   8m 17s ⏱️ +7s
 31 suites ±0     9 💤 ±0 
 31 files   ±0     0 ❌ ±0 

Results for commit e8bc305. ± Comparison against base commit 8a9ad07.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Test Results

531 tests  ±0   522 ✅ ±0   9m 7s ⏱️ +57s
 31 suites ±0     9 💤 ±0 
 31 files   ±0     0 ❌ ±0 

Results for commit 05f212f. ± Comparison against base commit 8a9ad07.

…n to ingest-v2 for complete release artifacts

- maven-assembly-plugin: produces jar-with-dependencies (fat jar)
- maven-source-plugin: produces -sources.jar
- dokka-maven-plugin (v1.9.20): produces -javadoc.jar (required for Kotlin;
  maven-javadoc-plugin does not work for pure Kotlin modules as it only processes
  .java files and silently produces no output)
- release.yml: added jar-with-dependencies for ingest-v2 in GitHub Release
@ag-ramachandran ag-ramachandran merged commit 4b2c791 into master Apr 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants