This archive contains an example Maven project for Scala.
The pom.xml
contains example dependencies for : -
- SLF4J
- LOG4J (acts as logging implementation for SLF4J)
- grizzled-slf4 a Scala specific wrapper for SLF4J.
- Junit for testing
Note that Scala itself is just listed as another dependency which means a global installation of Scala is not required.
The pom.xml
builds an uber-jar containing all the dependencies by default (including Scala jars) and also includes an exec:java
goal to run the code.