在Maven中有一个适用于Scala 2.11.4的ScalaTest吗?
我试过最新款的version。
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.11</artifactId>
<version>3.0.0-SNAP2</version>
<scope>test</scope>
</dependency>但是,当通过mvn clean install构建时,我看到:
[WARNING] org.scalatest:scalatest_2.11:3.0.0-SNAP2 requires scala version: 2.11.2
发布于 2015-08-23 13:35:11
http://www.scalatest.org/download
这里有所有的配置示例,我认为这对您来说是合适的
下面是你的Maven POM的代码(用于Scala 2.11.0+):
为什么你不使用<dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_2.11</artifactId> <version>2.2.4</version> <scope>test</scope> </dependency>,它是一个更好的纯scala编码器的构建工具。
https://stackoverflow.com/questions/26980978
复制相似问题