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

后端 未结 2 830
孤街浪徒
孤街浪徒 2021-02-06 23:19

Following http://docs.scala-lang.org/tutorials/scala-with-maven.html to setup a simple scala maven project.

I got a BUILD SUCCESS after setting up scala-archetype-simple

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-06 23:25

    I just removed -make:transitive from pom.xml and compilation worked.

    Also you may need to add

    
    org.specs2
    specs2-junit_${scala.compat.version}
    2.4.16
    test
    
    

    to get test passed.

提交回复
热议问题