Clean up POM dependencies in preparation for using Spring Platform POM, to match the Gradle build and avoid inconsistencies.