Adding the spring dependencies to pom.xml