[JAVA-5187] Source jar is empty for kotlin projects in maven Created: 02/Oct/23  Updated: 28/Oct/23  Resolved: 03/Oct/23

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

Type: Bug Priority: Minor - P4
Reporter: Natan Lifshitz Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

https://repo1.maven.org/maven2/org/mongodb/bson-kotlinx/4.10.2/

https://repo1.maven.org/maven2/org/mongodb/bson-kotlinx/4.10.2/bson-kotlinx-4.10.2-sources.jar

Source jar is empty. It should contain sources. 



 Comments   
Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Spotless - gradle style changes

JAVA-5187
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/32179fa5c7d021978b7ecfcf585465f36450f2e5

Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Andrei Nevedomskii', 'email': 'kloz.klaud@gmail.com', 'username': 'monosoul'}

Message: fix: include Kotlin sources into the sources jar (#1210)

JAVA-5187
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/03466772d686a443bb0949604c4cc4ba3b340de4

Comment by Ross Lawley [ 02/Oct/23 ]

Thanks for the ticket, will review it this week along with the PR: https://github.com/mongodb/mongo-java-driver/pull/1210

Comment by Natan Lifshitz [ 02/Oct/23 ]

Same problem with com.mongodb.kotlin.client.coroutine

Comment by Natan Lifshitz [ 02/Oct/23 ]

The title is wrong - the javadoc jar is there. There is just no source jar which means you can't see the javadocs in IntelliJ. 

Comment by PM Bot [ 02/Oct/23 ]

Hi natan.lifshitz@caesarealabs.com, thank you for reporting this issue! The team will look into it and get back to you soon.

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