[JAVA-2409] Ensure that at most one package-info.java per package is included in mongo-java-driver sources jar Created: 14/Dec/16  Updated: 19/Dec/16  Resolved: 15/Dec/16

Status: Closed
Project: Java Driver
Component/s: Build
Affects Version/s: 3.0.0
Fix Version/s: 3.4.1

Type: Bug Priority: Minor - P4
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible

 Description   

As part of the 3.x driver re-architecture, we ended up having to split several packages across multiple jar files. Some of the classes are in bson, some are in mongodb-driver-core, and some are in mongodb-driver. The source directory for each contains a package-info.java.

But then when we create the uber-jar, mongo-java-driver, both package-info.java files are included in the sources uber-jar.

We should ensure that there is at most one package-info.java per package in the sources uber-jar.

Affected packages:

  • com.mongodb
  • com.mongodb.client
  • com.mongodb.client.model
  • org.bson
  • org.bson.io
  • org.bson.types


 Comments   
Comment by Githook User [ 15/Dec/16 ]

Author:

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

Message: JAVA-2409: Remove redundant package-info.java files in driver module and suppress checkstyle errors
Branch: 3.4.x
https://github.com/mongodb/mongo-java-driver/commit/fe5e52947b0240223eba2d7bd9adf75ea4948981

Comment by Githook User [ 15/Dec/16 ]

Author:

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

Message: JAVA-2409: Remove redundant package-info.java files in driver module and suppress checkstyle errors
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/def1d130b54a67fbb7a52f64175de01725001b32

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