<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:07:50 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[MONGOCRYPT-51] Publishing task for libmongocrypt Java wrapper</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-51</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;The trickiest part will be the the inclusion of different platform shared libraries (.dylib, .so, .dll) into the jar file, similar to embedded mongodb..&lt;/p&gt;</description>
                <environment></environment>
        <key id="763640">MONGOCRYPT-51</key>
            <summary>Publishing task for libmongocrypt Java wrapper</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2019 22:00:06 +0000</created>
                <updated>Sat, 28 Oct 2023 10:25:54 +0000</updated>
                            <resolved>Thu, 6 Jun 2019 15:58:29 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2274045" author="xgen-internal-githook" created="Thu, 6 Jun 2019 15:57:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;, &apos;username&apos;: &apos;rozza&apos;}
&lt;p&gt;Message: Build: Ensure Jna libs are packaged alongside the java code&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Migrated build to kotlin&lt;/li&gt;
	&lt;li&gt;Added publishSnapshots task to push to the sonatype snapshots repo&lt;/li&gt;
	&lt;li&gt;Added publishArchives task which checks the git version is a tagged&lt;/li&gt;
	&lt;li&gt;Added jnaLibsCheck flag to enable JNA library checking: asks for user input to confirm the packages&lt;/li&gt;
	&lt;li&gt;Added jnaLibsPath setting to use a custom local JNA library path for inclusion into the build (rather than downloading from s3)&lt;/li&gt;
	&lt;li&gt;Added gitRevision setting to use a custom Git Revision to download the built resources for from s3.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-51&quot; title=&quot;Publishing task for libmongocrypt Java wrapper&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-51&quot;&gt;&lt;del&gt;CDRIVER-3122&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/d153ad4af0c3a114b0dbe4cdd6fe5e58682cbe6b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/d153ad4af0c3a114b0dbe4cdd6fe5e58682cbe6b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2272199" author="ross@10gen.com" created="Wed, 5 Jun 2019 13:50:19 +0000"  >&lt;p&gt;PR:&#160;&lt;a href=&quot;https://github.com/10gen/libmongocrypt/pull/13&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/pull/13&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2270046" author="ross@10gen.com" created="Tue, 4 Jun 2019 08:32:27 +0000"  >&lt;p&gt;Moving back into progress as more work is to be done to clean up the whole release process (snapshot and archives)&lt;/p&gt;</comment>
                            <comment id="2252626" author="ross@10gen.com" created="Mon, 20 May 2019 15:04:22 +0000"  >&lt;p&gt;PR:&#160;&lt;a href=&quot;https://github.com/10gen/libmongocrypt/pull/9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/pull/9&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When running the tests it would fail unless libbson was installed on the system path - so at the moment publishing a jar with libbson &amp;amp; libmongocrypt wouldn&apos;t work.&lt;/p&gt;

&lt;p&gt;Other than that to publish to maven central, the build must be tagged and then call:&#160;&lt;tt&gt;./gradlew publishArchives -DjnaLibPath=&amp;lt;path-to-jna-libs&amp;gt;&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;There&apos;s also a  &lt;tt&gt;publishSnapshot&lt;/tt&gt; task to push snapshots to the sonatype snapshot repo.&lt;/p&gt;</comment>
                            <comment id="2243111" author="kevin.albertson" created="Fri, 10 May 2019 20:32:58 +0000"  >&lt;p&gt;Created &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-124&quot; title=&quot;Build libmongocrypt for all necessary platforms&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-124&quot;&gt;&lt;del&gt;CDRIVER-3124&lt;/del&gt;&lt;/a&gt; to track the platform support.&lt;/p&gt;</comment>
                            <comment id="2242971" author="kevin.albertson" created="Fri, 10 May 2019 19:20:42 +0000"  >&lt;blockquote&gt;&lt;p&gt;How many platforms do you want to support in the jar?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Answer from the meeting: at minimum the platforms supported by mongocryptd.&lt;/p&gt;</comment>
                            <comment id="2242509" author="mark.benvenuto" created="Fri, 10 May 2019 16:45:11 +0000"  >&lt;ol&gt;
	&lt;li&gt;The evergreen project for libmongocrypt makes artifacts available for download. Example: &lt;a href=&quot;https://evergreen.mongodb.com/waterfall/libmongocrypt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/waterfall/libmongocrypt&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;On the size, I cannot answer. How many platforms do you want to support in the jar? x64 linux, x64 windows, macos, ppc64le linux, s390x linux, arm64 linux?&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="2241207" author="jeff.yemin" created="Fri, 10 May 2019 11:07:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.benvenuto&quot; class=&quot;user-hover&quot; rel=&quot;mark.benvenuto&quot;&gt;mark.benvenuto&lt;/a&gt; can you assist with answering Ross&apos;s open questions?&lt;/p&gt;</comment>
                            <comment id="2241146" author="ross@10gen.com" created="Fri, 10 May 2019 09:26:34 +0000"  >&lt;p&gt;There will need to be a multi step system: &lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Publish the shared libraries for each platform that we aim to support - is that listed anywhere?&lt;/li&gt;
	&lt;li&gt;Download the JNA library and the libcrypt shared libraries and package them along side the java code in the jar file.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Open questions:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Is there a place the libmongocrypt build artifacts can be downloaded from?&lt;/li&gt;
	&lt;li&gt;Is the size of the jar file an issue?  (Can it contain all platforms in the single jar?)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="772975">MONGOCRYPT-70</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>JAVA-3096</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr7d9z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>