Clean up dependencies in the POM.