Added new dependencies for Log4j, JUnit and Maven-Compiler-Plugin. Set
target JDK to 1.8.