Scala pom.xml example

Each time when beginning a new Maven Scala project: What’s the pom.xml looking like again ? 

Underneath is a simple example of a Scala project with the corresponding ScalaTest and scala-maven-plugin build plugin.

I don’t know for the other IDE, but Intellij just needs the Scala plugin installed. Everything happens automagically once the pom.xml file changes to something comparable. Very easy !

A warning though: The example is using Scala 2.11. Make sure the dependencies are 2.11 also. Scala is not always backwards compatible !


Leave a Reply

Your email address will not be published. Required fields are marked *