Source belongs to blog:
http://blog.jdriven.com/?p=2677
Pull and Run:
! Make sure Maven is on your path
$ md spring-profiles
$ cd spring-profiles
$ git init
$ git remote add origin https://github.com/michelmeeuwissen/Spring-Profiles-Intro.git
$ git pull origin master
$ mvn clean compile exec:java