XWIKI-9012: Update the Packager plugin to use the Maven 3.x API
* better use of AETHER
* apply codestyle
(cherry picked from commit be4b09a6581e2b188cfa9922fdeb694639f46b02)