Correct mvn version for dispatch.databinder.net

徘徊边缘 提交于 2020-01-04 05:25:50

问题


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?


回答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.



来源:https://stackoverflow.com/questions/15508401/correct-mvn-version-for-dispatch-databinder-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!