New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spanner-jdbc: Include shaded jar in standard build and publish to Maven Central #6957
spanner-jdbc: Include shaded jar in standard build and publish to Maven Central #6957
Conversation
Includes the shaded Spanner JDBC jar in the standard build for the library and publish it to Maven central with a classifier. This makes the shaded jar downloadable directly from Maven, instead of requiring users to build the jar themselves. Fixes #6950.
Codecov Report
@@ Coverage Diff @@
## master #6957 +/- ##
============================================
- Coverage 41.05% 41.04% -0.01%
+ Complexity 5290 5289 -1
============================================
Files 360 360
Lines 50413 50413
Branches 6913 6913
============================================
- Hits 20695 20693 -2
- Misses 28243 28244 +1
- Partials 1475 1476 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok with this change but let's discuss offline about if it's appropriate to publish two binaries.
<!-- Profile for building a jar containing all dependencies and the | ||
JDBC driver. This jar can then be used with third-party tools that support | ||
generic JDBC drivers to connect to Cloud Spanner databases. --> | ||
<id>build-jdbc-driver</id> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit unsure why this is removed.
Moved to new repo. |
Includes the shaded Spanner JDBC jar in the standard build for the library and publish it to Maven central with a classifier. This makes the shaded jar downloadable directly from Maven, instead of requiring users to build the jar themselves.
Fixes #6950.