Skip to content

Commit 30a153f

Browse files
authored
Update the legacy uber packages pom.xml
Update the name and description to indicate these are legacy and not the most recent release. JAVA-4854
1 parent 1184fb2 commit 30a153f

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

driver-async/build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
*/
1616

1717
archivesBaseName = 'mongodb-driver-async'
18-
description = 'The MongoDB Asynchronous Driver.'
19-
18+
description = '''This artifact is no longer maintained / updated by MongoDB.
19+
|For the most up-to-date version of the Java Driver, please refer to the mongodb-driver-reactivestreams artifact.'''
20+
.stripMargin()
2021
ext {
21-
pomName = 'The MongoDB Asynchronous Driver'
22+
pomName = 'MongoDB Asynchronous Driver (unmaintained)'
23+
pomUrl = 'https://www.mongodb.com/docs/drivers/reactive-streams/'
2224
}
2325

2426
sourceSets {

driver-embedded/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
*/
1616

1717
archivesBaseName = 'mongodb-driver-embedded'
18-
description = 'The MongoDB Embedded Driver'
18+
description = '''This artifact is not the most recent release of an embedded MongoDB Driver.
19+
|To use the most recent release please use MongoDB Realm instead.'''.stripMargin()
1920
ext {
20-
pomName = 'The MongoDB Embedded Driver'
21+
pomName = 'Legacy MongoDB Embedded Driver'
22+
pomUrl = 'https://www.mongodb.com/docs/realm/'
2123
}
2224

2325
dependencies {

mongo-java-driver/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@
1616

1717
archivesBaseName = 'mongo-java-driver'
1818

19-
description = 'The MongoDB Java Driver uber-artifact, containing the legacy driver, the mongodb-driver, mongodb-driver-core, and bson'
19+
description = '''This artifact is no longer maintained / updated by MongoDB.
20+
|For the most up-to-date version of the Java Driver, please refer to the mongodb-driver-sync artifact.
21+
|To use the legacy API, please refer to the mongodb-driver-legacy artifact.'''.stripMargin()
2022
ext {
21-
pomName = 'MongoDB Java Driver'
23+
pomName = 'MongoDB Java Driver (unmaintained)'
24+
pomUrl = 'https://www.mongodb.com/docs/drivers/java/sync/current/'
2225
}
2326

2427

mongodb-driver/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@
1515
*/
1616

1717
archivesBaseName = 'mongodb-driver'
18-
description = 'The MongoDB Driver uber-artifact that combines mongodb-driver-sync and the legacy driver'
18+
description = '''This artifact is no longer maintained / updated by MongoDB.
19+
|For the most up-to-date version of the Java Driver, please refer to the mongodb-driver-sync artifact.
20+
|To use the legacy API, please refer to the mongodb-driver-legacy artifact.'''.stripMargin()
1921
ext {
20-
pomName = 'MongoDB Java Driver'
22+
pomName = 'MongoDB Java Driver (unmaintained)'
23+
pomUrl = 'https://www.mongodb.com/docs/drivers/java/sync/current/'
2124
}
2225

2326
clirr {

0 commit comments

Comments
 (0)