idea maven scala

http://docs.scala-lang.org/tutorials/scala-with-maven.html

https://github.com/davidB/scala-archetype-simple

  1. mvn archetype:generate
  2. net.alchim31.maven:scala-archetype-simple
  3. mvn package -Dmaven.test.skip=true
  4. mvn dependency:copy-dependencies
  5. mvn scala:compile
    
    mvn scala:run -DmainClass=com.company.App

mvn archetype:generate -B  -DarchetypeGroupId=net.alchim31.maven -DarchetypeArtifactId=scala-archetype-simple -DarchetypeVersion=1.6 -DgroupId=com.company -DartifactId=project -Dversion=0.1-SNAPSHOT -Dpackage=com.company

fix

remove make:transitive

import org.scalatest.junit.JUnitRunner

posted @ 2017-01-06 21:08  anjunact  阅读(151)  评论(0编辑  收藏  举报