XWIKI-7163: Resolving of an extension artifact from a maven repository seems to cause unexpected persistence of its POM information
* refactor a bit