<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:39 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>[JAVA-171] Add &apos;export-package&apos; declaration in Java driver jar so that mongodb classes are usable in an OSGi context.</title>
                <link>https://jira.mongodb.org/browse/JAVA-171</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>
&lt;p&gt;The META-INF/MANIFEST currently in the Java JAR does not export any packages.  It would be nice to be able to use the driver as a bundle in an OSGi runtime.  The additional line in MANIFEST.MF would be something like...&lt;/p&gt;

&lt;p&gt;export-package: com.mongodb, com.mongodb.io, com.mongodb.util&lt;/p&gt;
</description>
                <environment>N/A</environment>
        <key id="13247">JAVA-171</key>
            <summary>Add &apos;export-package&apos; declaration in Java driver jar so that mongodb classes are usable in an OSGi context.</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="kgilmer">Ken Gilmer</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Oct 2010 16:20:55 +0000</created>
                <updated>Fri, 29 Oct 2010 02:50:00 +0000</updated>
                            <resolved>Tue, 5 Oct 2010 02:12:49 +0000</resolved>
                                    <version>2.1</version>
                                    <fixVersion>2.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="18875" author="auto" created="Tue, 5 Oct 2010 02:12:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: Add &apos;export-package&apos; declaration in Java driver jar so that mongodb classes are usable in an OSGi context &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-171&quot; title=&quot;Add &amp;#39;export-package&amp;#39; declaration in Java driver jar so that mongodb classes are usable in an OSGi context.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-171&quot;&gt;&lt;del&gt;JAVA-171&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo-java-driver/commit/9678ff590d0cbc937d71d05415d2a5b2806a389f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo-java-driver/commit/9678ff590d0cbc937d71d05415d2a5b2806a389f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18874" author="eliot" created="Tue, 5 Oct 2010 02:12:49 +0000"  >&lt;p&gt;Thanks for the patch!&lt;/p&gt;</comment>
                            <comment id="18845" author="kgilmer" created="Mon, 4 Oct 2010 17:23:47 +0000"  >&lt;p&gt;Well heck I needed to do it anyway so here it is.  I got the sources from a tarbal rather than scr checkout so wasn&apos;t easy to just provide a patch.  I modified the root build file and created the static manifest at src/main/META-INF/MANIFEST.MF.  I&apos;m new to mongodb and so I just exported all the packages but that&apos;s probably not necessary.&lt;/p&gt;

&lt;p&gt;hth&lt;br/&gt;
ken&lt;/p&gt;</comment>
                            <comment id="18843" author="kgilmer" created="Mon, 4 Oct 2010 16:32:29 +0000"  >&lt;p&gt;Well it looks like it&apos;s building with ant, so you could just manually specify a predefined MANIFEST.MF in the Jar ant task.  LMK if you&apos;d like me to submit a patch for this.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10496" name="MANIFEST.MF" size="260" author="kgilmer" created="Mon, 4 Oct 2010 17:23:47 +0000"/>
                            <attachment id="10495" name="build.xml" size="4788" author="kgilmer" created="Mon, 4 Oct 2010 17:23:47 +0000"/>
                    </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrhcuf:</customfieldvalue>

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