Scala project quickstart with maven

22px-flag_of_englandsvg To create a simple project:

mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:create -DarchetypeGroupId=org.scala-tools.archetypes -DarchetypeArtifactId=scala-archetype-simple -DarchetypeVersion=1.2 -DremoteRepositories=http://scala-tools.org/repo-releases -DgroupId=com.mycompany.scala -DartifactId=scalaTest


To run the sample:


mvn compile exec:java -Dexec.mainClass=com.mycompany.scala.App

Advertisements