Skip to content

Commit

Permalink
Update the legacy uber packages pom.xml
Browse files Browse the repository at this point in the history
Update the name and description to indicate these are legacy
and not the most recent release.

JAVA-4854
  • Loading branch information
rozza authored Feb 3, 2023
1 parent 1184fb2 commit 30a153f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
8 changes: 5 additions & 3 deletions driver-async/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
*/

archivesBaseName = 'mongodb-driver-async'
description = 'The MongoDB Asynchronous Driver.'

description = '''This artifact is no longer maintained / updated by MongoDB.
|For the most up-to-date version of the Java Driver, please refer to the mongodb-driver-reactivestreams artifact.'''
.stripMargin()
ext {
pomName = 'The MongoDB Asynchronous Driver'
pomName = 'MongoDB Asynchronous Driver (unmaintained)'
pomUrl = 'https://www.mongodb.com/docs/drivers/reactive-streams/'
}

sourceSets {
Expand Down
6 changes: 4 additions & 2 deletions driver-embedded/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
*/

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

dependencies {
Expand Down
7 changes: 5 additions & 2 deletions mongo-java-driver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@

archivesBaseName = 'mongo-java-driver'

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


Expand Down
7 changes: 5 additions & 2 deletions mongodb-driver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
*/

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

clirr {
Expand Down

0 comments on commit 30a153f

Please sign in to comment.