[MONGOCRYPT-51] Publishing task for libmongocrypt Java wrapper Created: 09/May/19 Updated: 28/Oct/23 Resolved: 06/Jun/19 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Client-side FLE | ||||||||
| Description |
|
The Java wrapper for libmongocrypt (currently in a PR) is not yet configured to publish itself to Maven central. This ticket covers the work required to do that. The trickiest part will be the the inclusion of different platform shared libraries (.dylib, .so, .dll) into the jar file, similar to embedded mongodb.. |
| Comments |
| Comment by Githook User [ 06/Jun/19 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Build: Ensure Jna libs are packaged alongside the java code
|
| Comment by Ross Lawley [ 05/Jun/19 ] |
| Comment by Ross Lawley [ 04/Jun/19 ] |
|
Moving back into progress as more work is to be done to clean up the whole release process (snapshot and archives) |
| Comment by Ross Lawley [ 20/May/19 ] |
|
PR: https://github.com/10gen/libmongocrypt/pull/9 When running the tests it would fail unless libbson was installed on the system path - so at the moment publishing a jar with libbson & libmongocrypt wouldn't work. Other than that to publish to maven central, the build must be tagged and then call: ./gradlew publishArchives -DjnaLibPath=<path-to-jna-libs> There's also a publishSnapshot task to push snapshots to the sonatype snapshot repo. |
| Comment by Kevin Albertson [ 10/May/19 ] |
|
Created |
| Comment by Kevin Albertson [ 10/May/19 ] |
Answer from the meeting: at minimum the platforms supported by mongocryptd. |
| Comment by Mark Benvenuto [ 10/May/19 ] |
|
| Comment by Jeffrey Yemin [ 10/May/19 ] |
|
mark.benvenuto can you assist with answering Ross's open questions? |
| Comment by Ross Lawley [ 10/May/19 ] |
|
There will need to be a multi step system:
Open questions:
|