Added <version> tag for maven-compiler-plugin for stability.
Added -Werror option for the better code