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

后端 未结 2 794
孤街浪徒
孤街浪徒 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:35

    With intellij

    I had to remove it from IntelliJ compiler config, as compilation was failing while running scalatests in intellij.

    The .idea/scala_compiler config was as below,

    cat .idea/scala_compiler.xml
    
    
    
      
        
          
            
            
            
          
        
      
    
    

    I removed the -make-transitive parameter for compiler, restarted the intellij.

    I have no idea who/why added -make:transitive parameter to .idea config.

提交回复
热议问题