Updating pom.xml with scala deprecation check