贴明原文地址:
http://www.scala-lang.org/old/node/345
下面这个是做好的 根pom
4.0.0 net.hasor scala-parent 0.0.1-SNAPSHOT pom Scala "Abstract" Parent Project http://scala-lang.org 赵永春(Mr.Zhao) zyc@hasor.net 2.11.5 scala-tools.org Scala-tools Maven2 Repository http://scala-tools.org/repo-releases scala-tools.org Scala-tools Maven2 Repository http://scala-tools.org/repo-releases Scala Project src/main/scala org.scala-lang scala-library ${scala.version} org.scala-lang scala-reflect ${scala.version} org.scala-lang scala-actors ${scala.version} org.scala-tools maven-scala-plugin compile testCompile org.codehaus.mojo build-helper-maven-plugin add-source generate-sources add-source add-test-source generate-sources add-test-source
下面新项目中就可以使用这个pom来管理 scala 项目了
4.0.0 net.hasor scala-parent 0.0.1-SNAPSHOT scala-test jar 1.0-SNAPSHOT