XWIKI-9297: The packager maven plugin never dispose the context and components it creates
* fix checkstyle