[JAVA-1998] mongo-java-driver uber jar missing required OSGI headers Created: 05/Oct/15  Updated: 07/Oct/15  Resolved: 05/Oct/15

Status: Closed
Project: Java Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.1.0

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JAVA-1857 update mongo-java-driver project jar ... Closed

 Description   

This regression was introduced between releases, so did not actually effect any released jar files.

Compare the 3.0.4 mongo-java-driver MANIFEST:

Manifest-Version: 1.0
Export-Package: com.mongodb;version="3.0.4";uses:="com.mongodb.annotat
 ions,com.mongodb.bulk,com.mongodb.client,com.mongodb.connection,javax
 .net,org.bson,org.bson.codecs,org.bson.codecs.configuration,org.bson.
 conversions,org.bson.io,org.bson.types",com.mongodb.annotations;versi
 on="3.0.4",com.mongodb.assertions;version="3.0.4";uses:="com.mongodb.
 async",com.mongodb.async;version="3.0.4",com.mongodb.binding;version=
 "3.0.4";uses:="com.mongodb,com.mongodb.async,com.mongodb.connection",
 com.mongodb.bulk;version="3.0.4";uses:="com.mongodb,org.bson",com.mon
 godb.client;version="3.0.4";uses:="com.mongodb,com.mongodb.annotation
 s,com.mongodb.bulk,com.mongodb.client.model,com.mongodb.client.result
 ,org.bson,org.bson.codecs.configuration,org.bson.conversions",com.mon
 godb.client.model;version="3.0.4";uses:="com.mongodb,org.bson,org.bso
 n.conversions",com.mongodb.client.result;version="3.0.4";uses:="org.b
 son",com.mongodb.connection;version="3.0.4";uses:="com.mongodb,com.mo
 ngodb.annotations,com.mongodb.async,com.mongodb.binding,com.mongodb.b
 ulk,com.mongodb.event,com.mongodb.internal.connection,com.mongodb.sel
 ector,javax.net,org.bson,org.bson.codecs,org.bson.io,org.bson.types",
 com.mongodb.connection.netty;version="3.0.4";uses:="com.mongodb,com.m
 ongodb.connection,io.netty.buffer,io.netty.channel.nio",com.mongodb.d
 iagnostics.logging;version="3.0.4",com.mongodb.event;version="3.0.4";
 uses:="com.mongodb.connection",com.mongodb.gridfs;version="3.0.4";use
 s:="com.mongodb,org.bson,org.bson.types",com.mongodb.internal.async;v
 ersion="3.0.4";uses:="com.mongodb.async,com.mongodb.diagnostics.loggi
 ng",com.mongodb.internal.authentication;version="3.0.4";uses:="org.bs
 on",com.mongodb.internal.connection;version="3.0.4";uses:="com.mongod
 b.connection,javax.net.ssl,org.bson",com.mongodb.internal.management.
 jmx;version="3.0.4";uses:="com.mongodb.management",com.mongodb.intern
 al.validator;version="3.0.4";uses:="org.bson",com.mongodb.management;
 version="3.0.4";uses:="com.mongodb.event",com.mongodb.operation;versi
 on="3.0.4";uses:="com.mongodb,com.mongodb.annotations,com.mongodb.asy
 nc,com.mongodb.binding,com.mongodb.bulk,com.mongodb.connection,org.bs
 on,org.bson.codecs",com.mongodb.selector;version="3.0.4";uses:="com.m
 ongodb,com.mongodb.annotations,com.mongodb.connection",com.mongodb.ut
 il;version="3.0.4";uses:="org.bson",org.bson;version="3.0.4";uses:="o
 rg.bson.codecs,org.bson.codecs.configuration,org.bson.conversions,org
 .bson.io,org.bson.json,org.bson.types",org.bson.assertions;version="3
 .0.4",org.bson.codecs;version="3.0.4";uses:="org.bson,org.bson.codecs
 .configuration,org.bson.types",org.bson.codecs.configuration;version=
 "3.0.4";uses:="org.bson.codecs",org.bson.conversions;version="3.0.4";
 uses:="org.bson,org.bson.codecs.configuration",org.bson.diagnostics;v
 ersion="3.0.4",org.bson.io;version="3.0.4";uses:="org.bson,org.bson.t
 ypes",org.bson.json;version="3.0.4";uses:="org.bson,org.bson.types",o
 rg.bson.types;version="3.0.4";uses:="org.bson",org.bson.util;version=
 "3.0.4"
Bundle-SymbolicName: org.mongodb.mongo-java-driver
Bundle-Version: 3.0.4
Bundle-Name: mongo-java-driver
Bundle-ManifestVersion: 2
Bnd-LastModified: 1444072017000
Import-Package: javax.xml.bind,javax.crypto,javax.crypto.spec,javax.ma
 nagement,javax.net,javax.net.ssl,javax.security.sasl,javax.security.a
 uth.callback,org.ietf.jgss,io.netty.bootstrap;resolution:=optional;ve
 rsion="[4.0,5)",io.netty.buffer;resolution:=optional;version="[4.0,5)
 ",io.netty.channel;resolution:=optional;version="[4.0,5)",io.netty.ch
 annel.nio;resolution:=optional;version="[4.0,5)",io.netty.channel.soc
 ket;resolution:=optional;version="[4.0,5)",io.netty.channel.socket.ni
 o;resolution:=optional;version="[4.0,5)",io.netty.handler.ssl;resolut
 ion:=optional;version="[4.0,5)",io.netty.handler.timeout;resolution:=
 optional;version="[4.0,5)",io.netty.util.concurrent;resolution:=optio
 nal;version="[4.0,5)",org.slf4j;resolution:=optional;version="[1.7,2)
 "
Created-By: 1.8.0_20 (Oracle Corporation)
Tool: Bnd-2.1.0.20130426-122213

against what's produced on master:

Manifest-Version: 1.0
Bundle-SymbolicName: org.mongodb.mongo-java-driver
Bundle-Version: 3.1.0
Bundle-Name: mongo-java-driver
Bundle-ManifestVersion: 2
Bnd-LastModified: 1444071400000
Import-Package: org.slf4j;resolution:=optional;version="[1.7,2)"
Created-By: 1.8.0_20 (Oracle Corporation)
Tool: Bnd-2.1.0.20130426-122213



 Comments   
Comment by Jeffrey Yemin [ 07/Oct/15 ]

Released in 3.1.0

Comment by Githook User [ 05/Oct/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1857, JAVA-1998: Rolling back the changed introduced by JAVA-1857, which caused the regression described in JAVA-1998.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/216c69af52e67362e014aa1fb5035d88b792716c

Comment by Githook User [ 05/Oct/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1857, JAVA-1998: Rolling back the changed introduced by JAVA-1857, which caused the regression described in JAVA-1998.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/216c69af52e67362e014aa1fb5035d88b792716c

Comment by Jeffrey Yemin [ 05/Oct/15 ]

Fixed by rolling back changes from JAVA-1857

Generated at Thu Feb 08 08:56:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.