Skip to content

fix(driver-bundle): exclude driver binaries from sources JAR#1933

Merged
yury-s merged 1 commit into
microsoft:mainfrom
yury-s:fix-1913
Jun 16, 2026
Merged

fix(driver-bundle): exclude driver binaries from sources JAR#1933
yury-s merged 1 commit into
microsoft:mainfrom
yury-s:fix-1913

Conversation

@yury-s

@yury-s yury-s commented Jun 16, 2026

Copy link
Copy Markdown
Member

Summary

  • The maven-source-plugin packages src/main/resources, so the per-platform driver binaries were bundled into driver-bundle-*-sources.jar (~214MB).
  • Set excludeResources=true for the source plugin in driver-bundle so the sources JAR contains only the Java sources (DriverJar.java). Rebuilt locally: sources JAR went from 214MB to 5.4KB.

Fixes #1913

The maven-source-plugin packages src/main/resources, so the driver
binaries for all platforms were bundled into driver-bundle-sources.jar
(214MB). Set excludeResources=true so the sources JAR contains only the
Java sources (DriverJar.java).

Fixes: microsoft#1913
@yury-s yury-s requested review from dcrousso and dgozman June 16, 2026 00:13
@yury-s yury-s merged commit ace7a12 into microsoft:main Jun 16, 2026
25 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.

[Bug]: driver-bundle sources JAR contains unnecessary binaries

3 participants