XWIKI-9012: Update the Packager plugin to use the Maven 3.x API
* better use of AETHER
* apply codestyle