Scala & Maven – POM Example

Today, there is no waffle about what Scala or Maven is. This is just the plain configuration to build Scala projects with Maven. If you want more detailed information check Maven for Beginners at or browse through the documentation of the Scala-Maven-Plugin.

By the way,the configuration works as well if you want to mix Java and Scala within a single project. Just place your scala files in src/main/scala and your Java files in src/main/java (or the src/test equivalents). Maven will do the rest for you.


<project xmlns="" xmlns:xsi=""

      <name>Scala-tools Repository</name>
      <name>Scala-tools Repository</name>



Getting started with Scala

Update: Scala Documentation (an excellent site for getting started with Scala) has just been launched. Make sure to check it out as well.

If you want to get started with Scala, here is a short list with (in my opinion) some of the most important resources to get you on the fast track.

  1. Get a book! I highly recommend this one, but there are plenty out there already.
  2. Install SBT and learn how to use it. (You might as well use Maven with Scala if you really want to.)
  3. Install Scala IDE for Eclipse and use sbteclipse to import your SBT projects.
  4. Get some friends out there, and learn.
  5. And not to forget my personal favourite for quick hacks: Simply Scala
  6. Enjoy!

First Dobule Challenge – Less meat, more clouds

I am quite a fan of Lars Vogels’s Challenge of the Month. That is why I decided to introduce a similar category on my blog. But, as I don’t want to be a typical European copy-cat, I will do it slightly different. Every month I will set up a double challenge for myself. Including one IT concerned challenge and one non-IT concerned challenge. By doing this, I hope it will a) improve my writing, b) improve my IT-skills and c) improve some other areas in my live.

So my first double challenge will be:

ISO-3166-1 Country List as SQL Script

How often do you need a drop-down in your application that displays all countries? And in most cases you need it in more than one language, right. I’ve been there a couple of times and finally decided to publish an sql script that could be used to create a countries table and fill it with all countries according to ISO-3166-1.

It took me some time to scan different sources and create my own countries.sql. And that was the main reason for setting up this post, I couldn’t find a page or blog post that had a ready-to-apply SQL script. When I was looking for the spanish translations, I finally stumbled upon Mega Database and its wonderful lists of everything. So you can either go to their page and get your own export of the data, or simply download the script I have attached to this post.

Thanks to for the lists and enjoy displaying those country drop-downs.