-
Notifications
You must be signed in to change notification settings - Fork 1
mikiobraun/minimal-scala-with-maven
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Small example pom.xml for using Maven with Scala. (w) 2013 by Mikio L. Braun and Matthias Jugel Public domain. This is in no way intended to show "how easy" it is. I know that Maven is complex and ugly, but it's been around forever, and it's just some part of the Java Environment you need to master. This should hopefully get you started. It sets up a project which compiles Java and Scala. It's all based on the scala-maven-plugin, for more information, see here: http://scala-tools.org/mvnsites/maven-scala-plugin Besides the standard use of "mvn package" to get your jar, etc, the plugin also allows you to run a class with > mvn scala:run -DmainClass=... and to open a console with the project files in the classpath > mvn scala:console It seems this forgets to turn console echo on afterwards. Type "reset" to reset your console. Doesn't seem to work for Scala 2.10 yet. Let's wait till the changes trickle through... ;)
About
Minimal environment to do Scala development with maven.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published