Fix the error while compiling the code with maven "error: multi-catch statement is not supported in -source 1.5"
By specifying the java compilation to 7 instead of the default 5.