pom.xml clean-up; removed a deprecated api usage.