Added dependencies in pom.xml.