scalac error: bad option: '-make:transitive' on mvn package via command line
1 问题描述:
ubuntu环境下用eclipse+maven开发Scala的时候出现错误:scalac error: bad option: '-make:transitive' on mvn package via command line
2 解决方法:
(1)打开pom.xml,删除
<parameter value="-make:transitive"/>
(2)添加dependance
<dependency>
<groupId>org.specs2</groupId>
<artifactId>specs2_2.11</artifactId>
<version>2.4.6</version>
<scope>test</scope>
</dependency>