Updating POM dependencies and adding log4J as dependency.