Clean up POMs

Updated to new plugins and dependencies, removed old unused parts.
Implements #1217.