mardi 15 janvier 2013

Easy Scala with Maven & Eclipse (scala 2.10)


I spent some time to figure this out ... not sold on sbt yet, and I am used to Eclipse 3.7.

So here is the simple procedure :



  1. Install the Scala plugin for Eclipse from scala-ide.org. I use this update-site for scala 2.10
  2. Install this eclipse plugin for maven / m2e : http://alchim31.free.fr/m2e-scala/update-site
  3. You can then import easily a Maven project.
  4. Right-click on the project, Configure > Add Scala Nature


Sample maven file :