这里链接到maven Scala插件的使用。但是没有提到它到底使用了什么Scala版本。我创建了具有以下配置的maven Scala项目:
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>然后我构建了有效的pom,maven Scala插件的插件部分是:
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>配置标签中也没有Scala版本。那么maven Scala插件默认使用什么Scala版本呢?
发布于 2014-08-12 03:52:11
运行mvn scala:console目标并检查版本
https://stackoverflow.com/questions/25255825
复制相似问题