Note that I can't really fix that without using improvments made with XWIKI-17034 which implies to upgrade the parent pom to 15.5 at least.