Skip to content

Commit 741706e

Browse files
authored
DOCSP-38223: installation (#2)
* DOCSP-38223: installation * meta tags * fixes * CC PR fixes 1
1 parent 88b38be commit 741706e

File tree

2 files changed

+82
-1
lines changed

2 files changed

+82
-1
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Pull Request Info
22

3-
[PR Reviewing Guidelines](https://github.com/mongodb/docs-java-rs/blob/master/REVIEWING.md)
3+
[PR Reviewing Guidelines](https://github.com/mongodb/docs-scala/blob/master/REVIEWING.md)
44

55
**Note: this is part of a consolidation effort, so your review should
66
not address style guide issues or phrasing unless there are errors**

source/installation.txt

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
.. _scala-install:
2+
3+
============
4+
Installation
5+
============
6+
7+
.. facet::
8+
:name: genre
9+
:values: reference
10+
11+
.. meta::
12+
:keywords: dependency, reactive streams, add package, sbt, maven
13+
14+
The recommended way to get started with the {+driver-short+} in your
15+
project is by using a dependency management system.
16+
17+
The following sections contain the Reactive Streams-based Scala
18+
implementation for asynchronous stream processing with non-blocking back
19+
pressure.
20+
21+
Scala 2.12 Based Driver
22+
-----------------------
23+
24+
.. tabs::
25+
26+
.. tab:: Maven
27+
:tabid: maven-installation
28+
29+
If you are using `Maven <https://maven.apache.org/>`__ to manage your
30+
packages, add the following entry to your ``pom.xml`` dependencies list:
31+
32+
.. code-block:: xml
33+
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.mongodb.scala</groupId>
37+
<artifactId>mongo-scala-driver</artifactId>
38+
<version>{+full-version+}_2.12</version>
39+
</dependency>
40+
</dependencies>
41+
42+
.. tab:: sbt
43+
:tabid: sbt-installation
44+
45+
If you are using `sbt <https://www.scala-sbt.org/>`__ to manage your
46+
packages, add the following entry to your ``build.sbt`` file:
47+
48+
.. code-block:: none
49+
50+
libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "{+full-version+}"
51+
52+
Scala 2.11 Based Driver
53+
-----------------------
54+
55+
.. tabs::
56+
57+
.. tab:: Maven
58+
:tabid: maven-installation
59+
60+
If you are using `Maven <https://maven.apache.org/>`__ to manage your
61+
packages, add the following entry to your ``pom.xml`` dependencies list:
62+
63+
.. code-block:: xml
64+
65+
<dependencies>
66+
<dependency>
67+
<groupId>org.mongodb.scala</groupId>
68+
<artifactId>mongo-scala-driver</artifactId>
69+
<version>{+full-version+}_2.11</version>
70+
</dependency>
71+
</dependencies>
72+
73+
.. tab:: sbt
74+
:tabid: sbt-installation
75+
76+
If you are using `sbt <https://www.scala-sbt.org/>`__ to manage your
77+
packages, add the following entry to your ``build.sbt`` file:
78+
79+
.. code-block:: none
80+
81+
libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "{+full-version+}"

0 commit comments

Comments
 (0)