added log4j to pom.xml.