2

The last version of the library dispatch.databinder.net is 0.9.5, according to the website.

What is the correct mvn dependency?

<dependency>
  <groupId>net.databinder.dispatch</groupId>
  <artifactId>core_2.10</artifactId>
  <version>0.9.1</version>
</dependency>

or

<dependency>
  <groupId>net.databinder.dispatch</groupId>
  <artifactId>dispatch-core_2.10</artifactId>
  <version>0.9.5</version>
</dependency>

or something else?

and how to find out this in general?

Tanmay Patil
  • 6,882
  • 2
  • 25
  • 45
David Portabella
  • 12,390
  • 27
  • 101
  • 182

1 Answers1

1

Since the website says

libraryDependencies += "net.databinder.dispatch" %% "dispatch-core" % "0.9.5"

The corresponding maven notation for Scala 2.10.x should be:

<dependency>
  <groupId>net.databinder.dispatch</groupId>
  <artifactId>dispatch-core_2.10</artifactId>
  <version>0.9.5</version>
</dependency>

Starting sbt 0.12.0, the Scala version postfix got shortened to _2.10 for Scala 2.10.x and above to take advantage of binary compatibilities between minor releases of Scala.

Eugene Yokota
  • 94,654
  • 45
  • 215
  • 319