Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository was archived by the owner on Apr 18, 2019. It is now read-only.

Commit 6151fb7

Browse files
committed
Mention scala.compat.version in README
1 parent 88437ee commit 6151fb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,23 @@ libraryDependencies := {
4343

4444
## Maven sample
4545

46-
The following `pom.xml` snippet assumes you define a `scalaBinaryVersion` property in your pom.xml file. For example, the `scalaBinaryVersion` should be set to `2.11` for any Scala 2.11.x version.
46+
The following `pom.xml` snippet assumes you define a `scala.compat.version` property in your pom.xml file for scala-maven-plugin 3.1.6 or later. For example, the `scala.compat.version` should be set to `2.11` for any Scala 2.11.x version.
4747

4848
```xml
4949
<!-- taken from: http://github.com/scala/scala-module-dependency-sample -->
5050
<dependency>
5151
<groupId>org.scala-lang.modules</groupId>
52-
<artifactId>scala-xml_${scalaBinaryVersion}</artifactId>
52+
<artifactId>scala-xml_${scala.compat.version}</artifactId>
5353
<version>1.0.6</version>
5454
</dependency>
5555
<dependency>
5656
<groupId>org.scala-lang.modules</groupId>
57-
<artifactId>scala-parser-combinators_${scalaBinaryVersion}</artifactId>
57+
<artifactId>scala-parser-combinators_${scala.compat.version}</artifactId>
5858
<version>1.0.4</version>
5959
</dependency>
6060
<dependency>
6161
<groupId>org.scala-lang.modules</groupId>
62-
<artifactId>scala-swing_${scalaBinaryVersion}</artifactId>
62+
<artifactId>scala-swing_${scala.compat.version}</artifactId>
6363
<version>1.0.2</version>
6464
</dependency>
6565
```

0 commit comments

Comments
 (0)