Skip to content

Commit 7bac500

Browse files
committed
Added links to the dependencies on sonatype
JAVA-1749
1 parent fb21b18 commit 7bac500

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

docs/reference/content/driver-async/getting-started/installation-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ title = "Installation Guide"
1414
The recommended way to get started using one of the drivers in your project is with a dependency management system.
1515

1616
{{% 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.
1818
{{% /note %}}
1919

2020
{{< distroPicker >}}
2121

2222
## MongoDB Async Driver
2323
The new asynchronous API that can leverage either Netty or Java 7's AsynchronousSocketChannel for fast and non-blocking IO.
2424

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">}}

docs/reference/content/driver/getting-started/installation-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The MongoDB Driver is the updated synchronous Java driver that includes the
2222
legacy API as well as a new generic MongoCollection interface that complies with
2323
a new cross-driver CRUD specification.
2424

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">}}
2626

2727

2828
## Uber MongoDB Java Driver

docs/reference/layouts/shortcodes/install.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,11 @@
2323
<p>You can also download the jars
2424
<a href="https://oss.sonatype.org/content/repositories/releases/org/mongodb/{{$artifactId}}/{{$version}}" target="_blank">directly</a>
2525
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}}
2733
</section>

0 commit comments

Comments
 (0)