Skip to content
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

Closed

Conversation

olavloite
Copy link

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.

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.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 30, 2019
@codecov
Copy link

codecov bot commented Dec 1, 2019

Codecov Report

Merging #6957 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ Complexity Δ
...oogle/cloud/spanner/jdbc/SingleUseTransaction.java 86% <0%> (-1%) 36% <0%> (-1%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e2d497...9ef8b74. Read the comment docs.

Copy link

@skuruppu skuruppu left a 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>

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.

@olavloite
Copy link
Author

Moved to new repo.

@olavloite olavloite closed this Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants