Add build configuration for Java 1.6

Since java annotations are used we need to instruct maven to target Java
1.6 (Java 6) when compiling/building the application.

Also fix incorrect slashes \ vs / as / should be platform independant.