scalac error: bad option: '-make:transitive' on mvn package via command line

来源:互联网 发布:linux 强制覆盖命令 编辑:程序博客网 时间:2024/04/29 17:10

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>


0 0
原创粉丝点击