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

上一篇:CodeForces757A


下一篇:Python mysql 操作小类,供大家用用