Added compilation plugin for maven.
default statement for switch added