File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed
driver-async/getting-started Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ The recommended way to get started using one of the drivers in your project is w
17
17
## MongoDB Async Driver
18
18
The new asynchronous API that can leverage either Netty or Java 7's AsynchronousSocketChannel for fast and non-blocking IO.
19
19
20
- {{< install artifactId="mongodb-driver-async" version="3.0.0" >}}
20
+ {{< install artifactId="mongodb-driver-async" version="3.0.0" dependencies=" ` bson ` , ` mongodb-driver-core ` " >}}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The MongoDB Driver is the updated synchronous Java driver that includes the
22
22
legacy API as well as a new generic MongoCollection interface that complies with
23
23
a new cross-driver CRUD specification.
24
24
25
- {{< install artifactId="mongodb-driver" version="3.0.0" >}}
25
+ {{< install artifactId="mongodb-driver" version="3.0.0" dependencies=" ` bson ` , ` mongodb-driver-core ` " >}}
26
26
27
27
28
28
## Uber MongoDB Java Driver
Original file line number Diff line number Diff line change 1
- {{ $artifactId := .Get "artifactId"}}{{ $version := .Get "version"}}
1
+ {{ $artifactId := .Get "artifactId"}}{{ $version := .Get "version"}}{{ $dependencies := .Get "dependencies"}}
2
2
< section class ="maven ">
3
3
< pre > < code class ="ini ">
4
4
<dependencies>
19
19
20
20
</ code > </ pre >
21
21
</ section >
22
- < section class ="downloadInfo ">
23
- < p class =" small " > You can also download the jars
22
+ < section class ="downloadInfo small ">
23
+ < p > You can also download the jars
24
24
< a href ="https://oss.sonatype.org/content/repositories/releases/org/mongodb/{{$artifactId}}/{{$version}} " target ="_blank "> directly</ a >
25
- from sonatype.</ a >
26
- </ p >
25
+ from sonatype.</ a > </ p >
26
+ {{ with $dependencies}}{{ $depMarkdown := add (add (add (add "**Note:** `" $artifactId ) "` requires the following dependencies: ") . ) "." }}{{$depMarkdown | markdownify}}{{end}}
27
27
</ section >
Original file line number Diff line number Diff line change 1
1
.downloadInfo {
2
2
margin-top : -24px ;
3
- font-size : 14px ;
3
+ font-size : 13px ;
4
+ }
5
+ .downloadInfo p {
6
+ margin : 0px ;
4
7
}
You can’t perform that action at this time.
0 commit comments