[misc] Allow building with new maven xwiki rules