File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
driver-async/getting-started Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ title = "Installation Guide"
14
14
The recommended way to get started using one of the drivers in your project is with a dependency management system.
15
15
16
16
{{% note class="important" %}}
17
- The MongoDB Async Driver requires Java 7 or greater .
17
+ The MongoDB Async Driver requires either [ Netty ] ( http://netty.io/ ) or Java 7 .
18
18
{{% /note %}}
19
19
20
20
{{< distroPicker >}}
21
21
22
22
## MongoDB Async Driver
23
23
The new asynchronous API that can leverage either Netty or Java 7's AsynchronousSocketChannel for fast and non-blocking IO.
24
24
25
- {{< install artifactId="mongodb-driver-async" version="3.0.0" dependencies="` bson ` , ` mongodb-driver-core ` ">}}
25
+ {{< install artifactId="mongodb-driver-async" version="3.0.0" dependencies="true ">}}
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" dependencies="` bson ` , ` mongodb-driver-core ` ">}}
25
+ {{< install artifactId="mongodb-driver" version="3.0.0" dependencies="true ">}}
26
26
27
27
28
28
## Uber MongoDB Java Driver
Original file line number Diff line number Diff line change 23
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
25
from sonatype.</ a > </ p >
26
- {{ with $dependencies}}{{ $depMarkdown := add (add (add (add "**Note:** `" $artifactId ) "` requires the following dependencies: ") . ) "." }}{{$depMarkdown | markdownify}}{{end}}
26
+ {{ with $dependencies}}
27
+ < p >
28
+ < strong > Note:</ strong > < code > {{$artifactId}}</ code > requires the following dependencies:
29
+ < a href ="https://oss.sonatype.org/content/repositories/releases/org/mongodb/bson/{{$version}} " target ="_blank "> < code > bson</ code > </ a > and
30
+ < a href ="https://oss.sonatype.org/content/repositories/releases/org/mongodb/mongodb-driver-core/{{$version}} " target ="_blank "> < code > mongodb-driver-core</ code > </ a >
31
+ </ p >
32
+ {{end}}
27
33
</ section >
You can’t perform that action at this time.
0 commit comments