Fix pom and added log4j.