Updating the POM with dependencies of Spring, Hibernate and Log4j.