Refactored pom
Added new scenarios

Only sort in pluginManagement but not plugins.  This allows setting the execution
order of the plugins.

Prevent the existence of a configuration element with no children.

Also ensured that comments in the configuration are preserved.